#210239#210239

#210239 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.1% C 0.099 H 304.6°. Best body text is #FFFFFF at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#210239
RGBrgb(33, 2, 57)
HSLhsl(274, 93%, 12%)
HSVhsv(274, 96%, 22%)
CMYKcmyk(42.1%, 96.5%, 0%, 77.6%)
CIE-LABlab(5.98, 27.45, -28.17)
CIE-LCHlch(5.98, 39.33, 314.26°)
OKLaboklab(20.1% 0.0562 -0.0814)
OKLCHoklch(20.1% 0.099 304.6)
XYZxyz(1.3873, 0.6622, 3.9248)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210239 #1A3902
analogous
#060239 #210239 #390236
triadic
#210239 #392102 #023921
tetradic
#210239 #390602 #1A3902 #023639
square
#210239 #390602 #1A3902 #023639
split-complementary
#210239 #363902 #023906
monochromatic
#11011E #11011E #210239 #430474 #6506AF

Accessibility & contrast

On white

18.54
#210239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#210239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210239
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210239#FFFFFF#000000##FFFFFF
##2102391.0018.541.1318.54
#FFFFFF18.541.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133A
Deuteranopia (green-blind)
#001338
Tritanopia (blue-blind)
#1C111E
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #210239;
/* rgb */ color: rgb(33, 2, 57);
/* oklch */ color: oklch(20.1% 0.099 304.6);
Tailwind
colors: {
  custom: {
    50: '#604770',
    500: '#210239',
    950: '#000000',
  },
}
SCSS
$custom: #210239;
$custom-light: #604770;
$custom-dark: #000000;
JSON
{
  "hex": "#210239",
  "rgb": {
    "r": 33,
    "g": 2,
    "b": 57
  },
  "hsl": {
    "h": 273.818,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.20098,
    "c": 0.09888,
    "h": 304.6
  },
  "luminance": 0.00662
}

Semantic roles & 50–950 ramp

primary
#210239
secondary
#457D1A
accent
#FF2986
background
#F5F4F6
surface
#EAE6EC
border
#C6C2C7
text
#050007
muted
#79777A

Preview Lab

Preview with #210239

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

Preview Lab → · Contrast checker → · Palette generator →

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