#201652#201652

#201652 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.6% C 0.104 H 283.9°. Best body text is #FFFFFF at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#201652
RGBrgb(32, 22, 82)
HSLhsl(250, 58%, 20%)
HSVhsv(250, 73%, 32%)
CMYKcmyk(61%, 73.2%, 0%, 67.8%)
CIE-LABlab(12.54, 23.76, -35.05)
CIE-LCHlch(12.54, 42.34, 304.13°)
OKLaboklab(25.62% 0.025 -0.1008)
OKLCHoklch(25.62% 0.104 283.9)
XYZxyz(2.4051, 1.4899, 8.1419)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201652 #485216
analogous
#162A52 #201652 #3E1652
triadic
#201652 #522016 #165220
tetradic
#201652 #52162A #485216 #16523E
square
#201652 #52162A #485216 #16523E
split-complementary
#201652 #523E16 #2A5216
monochromatic
#090618 #0D0922 #201652 #332382 #4630B3

Accessibility & contrast

On white

16.18
#201652 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#201652 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201652
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201652#FFFFFF#000000##FFFFFF
##2016521.0016.181.3016.18
#FFFFFF16.181.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002254
Deuteranopia (green-blind)
#001F51
Tritanopia (blue-blind)
#082531
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #201652;
/* rgb */ color: rgb(32, 22, 82);
/* oklch */ color: oklch(25.6% 0.104 283.9);
Tailwind
colors: {
  custom: {
    50: '#625483',
    500: '#201652',
    950: '#000000',
  },
}
SCSS
$custom: #201652;
$custom-light: #625483;
$custom-dark: #000000;
JSON
{
  "hex": "#201652",
  "rgb": {
    "r": 32,
    "g": 22,
    "b": 82
  },
  "hsl": {
    "h": 250,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.25624,
    "c": 0.10382,
    "h": 283.9
  },
  "luminance": 0.0149
}

Semantic roles & 50–950 ramp

primary
#201652
secondary
#7C893A
accent
#E147C7
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05020B
muted
#7A787C

Preview Lab

Preview with #201652

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

Preview Lab → · Contrast checker → · Palette generator →

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