Skip to content

#af13da

a balanced, electric violet · neutral · closest name: Dark Orchid

RGB
175, 19, 218
HSL
287°, 84%, 47%
CMYK
20, 91, 0, 15
Luminance
0.1464

At a glance

Every number on this page in one read: what #af13da is made of, how bright it looks, and which way it leans.

Hex
#af13da
Hue
287°
violet
Saturation
84%
electric
Lightness
47%
balanced
Brightness
85%
HSV value
Perceived
48%
weighted brightness
Luminance
0.1464
WCAG relative
Temperature
Neutral
57/100 cool
Color family
Violet
Tone
Electric
Best ink
White
5.35:1
Closest name
Dark Orchid
ΔE2000 3.7
Where it sits
Hue287° of 360°
Saturation84%
Lightness47%
Temperature
Warm ← → Cool57% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#af13da
RGBrgb(175, 19, 218)
HSLhsl(287, 84%, 47%)
CMYKcmyk(20%, 91%, 0%, 15%)
LABlab(45.1 79.0 -65.2)
LCHlch(45.1 102.4 320.5)
OKLCHoklch(0.563 0.267 316.4)
Decimal11473882
Display P3color(display-p3 0.686 0.075 0.855)

Copy-ready code

/* CSS */
color: #af13da;
background-color: #af13da;
/* Tailwind (arbitrary) */
class="text-[#af13da] bg-[#af13da]"
/* SCSS */
$brand: #af13da;
/* SwiftUI */
Color(red: 0.686, green: 0.075, blue: 0.855)
/* Android */
Color.parseColor("#af13da")
/* Flutter */
Color(0xFFAF13DA)
/* Python / OpenCV (BGR) */
(218, 19, 175)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #af13da · 5.35:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.35:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.93:1
AA fail · AA large pass · AAA fail
Reading the other direction: #af13da as text scores 5.35:1 on white and 3.93:1 on black.

Accessibility — WCAG contrast

Aa
#af13da on white: 5.35:1
AA ✓ pass · AA-large · AAA
Aa
#af13da on black: 3.93:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0063DF
deuteranopia · #0B6FD6
tritanopia · #AC4E81

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #af13da is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FAF2FC
#F5E6FA
#ECC5F6
#E298F6
#D364F2
#C431ED
#af13da
#9710BC
#780D96
#580E6C
#370944
Base = 600Lightest = 50 · #FAF2FCDarkest = 950 · #370944
:root {
  --brand-50: #FAF2FC;
  --brand-100: #F5E6FA;
  --brand-200: #ECC5F6;
  --brand-300: #E298F6;
  --brand-400: #D364F2;
  --brand-500: #C431ED;
  --brand-600: #af13da;
  --brand-700: #9710BC;
  --brand-800: #780D96;
  --brand-900: #580E6C;
  --brand-950: #370944;
  --brand: #af13da;
  --brand-ink: #ffffff;
}

Colors that work with #af13da

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F9F4FA
Tinted page background
Border#E3C0ED
Hairlines and dividers
Muted text#8A4B9B
Captions on the surface
Accent#60C00C
Second voice, not a rival
Dark variant#5E0A75
Hover, pressed, headers
Light variant#F8E8FD
Selected rows, tints
Dark surface#211424
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #af13da

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#3EDA13
Analogous left#4B13DA
Analogous right#DA13A2
Split-complement 1#A2DA13
Split-complement 2#13DA4B
Triadic 1#DAAF13
Triadic 2#13DAAF
Tetradic#DA4B13

RGB percentages

Red68.6%
Green7.5%
Blue85.5%

CMYK percentages

Cyan19.7%
Magenta91.3%
Yellow0.0%
Key (black)14.5%

Color previews

#af13da text on a black background

contrast 3.93:1

Card sample

#af13da text on a white background

contrast 5.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #af13da;
Background color
Panel with #af13da background
background-color: #af13da;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #af13da;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(175, 19, 218, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 19, 218, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af13da;
background: linear-gradient(135deg, #af13da, #DA1381);

Monochromatic scale

Palettes built from #af13da

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#af13da in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
Creative toolsFintechBeautyLuxury
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#af13da, answered

What color is #af13da?

#af13da is a balanced electric violet, closest to Dark Orchid (ΔE2000 3.7). It sits at 287° on the hue wheel with 84% saturation and 47% lightness, which reads as neutral.

What is the RGB value of #af13da?

rgb(175, 19, 218) — 175 red, 19 green and 218 blue out of 255, or 68.6% / 7.5% / 85.5% by channel.

Is #af13da a light or a dark color?

It is a dark color. Relative luminance is 0.1464 and perceived brightness is 48%, so white text on it reaches 5.35:1.

Should I use black or white text on #af13da?

White. It scores 5.35:1 against #af13da, versus 3.93:1 for black — AA at any size.

What is the complementary color of #af13da?

#3EDA13 sits directly opposite on the wheel. Softer options are the split-complements #A2DA13 and #13DA4B, which give the same contrast with far less vibration.

What colors go well with #af13da?

For interface work: #F9F4FA as the surface, #E3C0ED for borders, #8A4B9B for secondary text, #60C00C as an accent and #5E0A75 for hover and pressed states. For a palette, the analogous pair #4B13DA and #DA13A2 stays calm, while #3EDA13 is the loudest partner.

What is #af13da in CMYK for printing?

cmyk(20%, 91%, 0%, 15%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #af13da warm or cool?

Neutral — it scores 57 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DA13BC; nudged cooler, #6611DD.

Work with #af13da in the Color Lab