#210233#210233

#210233 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.5% C 0.092 H 309.3°. Best body text is #FFFFFF at 18.73:1 contrast (WCAG AA passes).

Color values

HEX#210233
RGBrgb(33, 2, 51)
HSLhsl(278, 92%, 10%)
HSVhsv(278, 96%, 20%)
CMYKcmyk(35.3%, 96.1%, 0%, 80%)
CIE-LABlab(5.47, 25.35, -24.59)
CIE-LCHlch(5.47, 35.32, 315.88°)
OKLaboklab(19.46% 0.0586 -0.0715)
OKLCHoklch(19.46% 0.092 309.3)
XYZxyz(1.2463, 0.6058, 3.1826)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210233 #143302
analogous
#080233 #210233 #33022C
triadic
#210233 #332102 #023321
tetradic
#210233 #330802 #143302 #022C33
square
#210233 #330802 #143302 #022C33
split-complementary
#210233 #2C3302 #023308
monochromatic
#13011D #13011D #210233 #47046E #6D07A9

Accessibility & contrast

On white

18.73
#210233 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#210233 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210233
18.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210233#FFFFFF#000000##FFFFFF
##2102331.0018.731.1218.73
#FFFFFF18.731.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001134
Deuteranopia (green-blind)
#001232
Tritanopia (blue-blind)
#1E0E1A
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #210233;
/* rgb */ color: rgb(33, 2, 51);
/* oklch */ color: oklch(19.5% 0.092 309.3);
Tailwind
colors: {
  custom: {
    50: '#5f476b',
    500: '#210233',
    950: '#000000',
  },
}
SCSS
$custom: #210233;
$custom-light: #5f476b;
$custom-dark: #000000;
JSON
{
  "hex": "#210233",
  "rgb": {
    "r": 33,
    "g": 2,
    "b": 51
  },
  "hsl": {
    "h": 277.959,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.19464,
    "c": 0.09249,
    "h": 309.3
  },
  "luminance": 0.00606
}

Semantic roles & 50–950 ramp

primary
#210233
secondary
#3C771A
accent
#FF2977
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#050006
muted
#79777A

Preview Lab

Preview with #210233

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

Preview Lab → · Contrast checker → · Palette generator →

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