#210739#210739

#210739 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.9% C 0.091 H 302.9°. Best body text is #FFFFFF at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#210739
RGBrgb(33, 7, 57)
HSLhsl(271, 78%, 13%)
HSVhsv(271, 88%, 22%)
CMYKcmyk(42.1%, 87.7%, 0%, 77.6%)
CIE-LABlab(6.96, 24.79, -26.58)
CIE-LCHlch(6.96, 36.35, 313.01°)
OKLaboklab(20.88% 0.0491 -0.076)
OKLCHoklch(20.88% 0.091 302.9)
XYZxyz(1.4415, 0.7707, 3.9429)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210739 #1F3907
analogous
#080739 #210739 #390738
triadic
#210739 #392107 #073921
tetradic
#210739 #390807 #1F3907 #073839
square
#210739 #390807 #1F3907 #073839
split-complementary
#210739 #383907 #073908
monochromatic
#10031B #10031B #210739 #410E70 #6014A6

Accessibility & contrast

On white

18.19
#210739 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210739
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210739#FFFFFF#000000##FFFFFF
##2107391.0018.191.1518.19
#FFFFFF18.191.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153A
Deuteranopia (green-blind)
#001538
Tritanopia (blue-blind)
#1C141F
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #210739;
/* rgb */ color: rgb(33, 7, 57);
/* oklch */ color: oklch(20.9% 0.091 302.9);
Tailwind
colors: {
  custom: {
    50: '#5f4970',
    500: '#210739',
    950: '#000000',
  },
}
SCSS
$custom: #210739;
$custom-light: #5f4970;
$custom-dark: #000000;
JSON
{
  "hex": "#210739",
  "rgb": {
    "r": 33,
    "g": 7,
    "b": 57
  },
  "hsl": {
    "h": 271.2,
    "s": 78.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.20883,
    "c": 0.09054,
    "h": 302.9
  },
  "luminance": 0.00771
}

Semantic roles & 50–950 ramp

primary
#210739
secondary
#4C7923
accent
#F53390
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #210739

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

Preview Lab → · Contrast checker → · Palette generator →

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