#201168#201168

#201168 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.3% C 0.139 H 279.7°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#201168
RGBrgb(32, 17, 104)
HSLhsl(250, 72%, 24%)
HSVhsv(250, 84%, 41%)
CMYKcmyk(69.2%, 83.7%, 0%, 59.2%)
CIE-LABlab(13.87, 34.27, -47.61)
CIE-LCHlch(13.87, 58.66, 305.75°)
OKLaboklab(27.28% 0.0234 -0.1375)
OKLCHoklch(27.28% 0.139 279.7)
XYZxyz(3.2940, 1.7072, 13.2500)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201168 #596811
analogous
#112D68 #201168 #4B1168
triadic
#201168 #682011 #116820
tetradic
#201168 #68112D #596811 #11684B
square
#201168 #68112D #596811 #11684B
split-complementary
#201168 #684B11 #2D6811
monochromatic
#08041A #100833 #201168 #301A9D #4022D1

Accessibility & contrast

On white

15.66
#201168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#201168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201168
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201168#FFFFFF#000000##FFFFFF
##2011681.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00266A
Deuteranopia (green-blind)
#002066
Tritanopia (blue-blind)
#002B3D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #201168;
/* rgb */ color: rgb(32, 17, 104);
/* oklch */ color: oklch(27.3% 0.139 279.7);
Tailwind
colors: {
  custom: {
    50: '#675294',
    500: '#201168',
    950: '#000000',
  },
}
SCSS
$custom: #201168;
$custom-light: #675294;
$custom-dark: #000000;
JSON
{
  "hex": "#201168",
  "rgb": {
    "r": 32,
    "g": 17,
    "b": 104
  },
  "hsl": {
    "h": 250.345,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.2728,
    "c": 0.13945,
    "h": 279.7
  },
  "luminance": 0.01707
}

Semantic roles & 50–950 ramp

primary
#201168
secondary
#8DA035
accent
#EF39CF
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #201168

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#201168 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva