#201162#201162

#201162 is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.6% C 0.132 H 281.1°. Best body text is #FFFFFF at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#201162
RGBrgb(32, 17, 98)
HSLhsl(251, 70%, 23%)
HSVhsv(251, 83%, 38%)
CMYKcmyk(67.3%, 82.7%, 0%, 61.6%)
CIE-LABlab(13.17, 32.30, -44.80)
CIE-LCHlch(13.17, 55.23, 305.79°)
OKLaboklab(26.58% 0.0253 -0.1293)
OKLCHoklch(26.58% 0.132 281.1)
XYZxyz(3.0000, 1.5896, 11.7016)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201162 #536211
analogous
#112B62 #201162 #481162
triadic
#201162 #622011 #116220
tetradic
#201162 #62112B #536211 #116248
square
#201162 #62112B #536211 #116248
split-complementary
#201162 #624811 #2B6211
monochromatic
#09051A #0F082E #201162 #311A96 #4223CA

Accessibility & contrast

On white

15.93
#201162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#201162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201162
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201162#FFFFFF#000000##FFFFFF
##2011621.0015.931.3215.93
#FFFFFF15.931.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002564
Deuteranopia (green-blind)
#001F61
Tritanopia (blue-blind)
#002939
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #201162;
/* rgb */ color: rgb(32, 17, 98);
/* oklch */ color: oklch(26.6% 0.132 281.1);
Tailwind
colors: {
  custom: {
    50: '#665290',
    500: '#201162',
    950: '#000000',
  },
}
SCSS
$custom: #201162;
$custom-light: #665290;
$custom-dark: #000000;
JSON
{
  "hex": "#201162",
  "rgb": {
    "r": 32,
    "g": 17,
    "b": 98
  },
  "hsl": {
    "h": 251.111,
    "s": 70.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.26583,
    "c": 0.13173,
    "h": 281.1
  },
  "luminance": 0.0159
}

Semantic roles & 50–950 ramp

primary
#201162
secondary
#879A34
accent
#ED3BCC
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020D
muted
#7A787D

Preview Lab

Preview with #201162

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

Preview Lab → · Contrast checker → · Palette generator →

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