#210638#210638

#210638 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.6% C 0.091 H 304.0°. Best body text is #FFFFFF at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#210638
RGBrgb(33, 6, 56)
HSLhsl(272, 81%, 12%)
HSVhsv(272, 89%, 22%)
CMYKcmyk(41.1%, 89.3%, 0%, 78%)
CIE-LABlab(6.68, 25.00, -26.31)
CIE-LCHlch(6.68, 36.30, 313.53°)
OKLaboklab(20.63% 0.0508 -0.0754)
OKLCHoklch(20.63% 0.091 304)
XYZxyz(1.4060, 0.7391, 3.8092)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210638 #1D3806
analogous
#080638 #210638 #380636
triadic
#210638 #382106 #063821
tetradic
#210638 #380806 #1D3806 #063638
square
#210638 #380806 #1D3806 #063638
split-complementary
#210638 #363806 #063808
monochromatic
#10031C #10031C #210638 #420C6F #6212A7

Accessibility & contrast

On white

18.30
#210638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#210638 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210638
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210638#FFFFFF#000000##FFFFFF
##2106381.0018.301.1518.30
#FFFFFF18.301.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001439
Deuteranopia (green-blind)
#001537
Tritanopia (blue-blind)
#1C131F
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #210638;
/* rgb */ color: rgb(33, 6, 56);
/* oklch */ color: oklch(20.6% 0.091 304.0);
Tailwind
colors: {
  custom: {
    50: '#5f496f',
    500: '#210638',
    950: '#000000',
  },
}
SCSS
$custom: #210638;
$custom-light: #5f496f;
$custom-dark: #000000;
JSON
{
  "hex": "#210638",
  "rgb": {
    "r": 33,
    "g": 6,
    "b": 56
  },
  "hsl": {
    "h": 272.4,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.20629,
    "c": 0.09092,
    "h": 304
  },
  "luminance": 0.00739
}

Semantic roles & 50–950 ramp

primary
#210638
secondary
#497821
accent
#F7318C
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #210638

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

Preview Lab → · Contrast checker → · Palette generator →

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