#210738#210738

#210738 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.8% C 0.089 H 303.6°. Best body text is #FFFFFF at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#210738
RGBrgb(33, 7, 56)
HSLhsl(272, 78%, 12%)
HSVhsv(272, 88%, 22%)
CMYKcmyk(41.1%, 87.5%, 0%, 78%)
CIE-LABlab(6.87, 24.47, -26.00)
CIE-LCHlch(6.87, 35.70, 313.26°)
OKLaboklab(20.78% 0.0494 -0.0744)
OKLCHoklch(20.78% 0.089 303.6)
XYZxyz(1.4168, 0.7608, 3.8128)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210738 #1E3807
analogous
#090738 #210738 #380737
triadic
#210738 #382107 #073821
tetradic
#210738 #380907 #1E3807 #073738
square
#210738 #380907 #1E3807 #073738
split-complementary
#210738 #373807 #073809
monochromatic
#10031B #10031B #210738 #410E6E #6115A5

Accessibility & contrast

On white

18.23
#210738 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210738
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210738#FFFFFF#000000##FFFFFF
##2107381.0018.231.1518.23
#FFFFFF18.231.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #210738;
/* rgb */ color: rgb(33, 7, 56);
/* oklch */ color: oklch(20.8% 0.089 303.6);
Tailwind
colors: {
  custom: {
    50: '#5f496f',
    500: '#210738',
    950: '#000000',
  },
}
SCSS
$custom: #210738;
$custom-light: #5f496f;
$custom-dark: #000000;
JSON
{
  "hex": "#210738",
  "rgb": {
    "r": 33,
    "g": 7,
    "b": 56
  },
  "hsl": {
    "h": 271.837,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.20783,
    "c": 0.08931,
    "h": 303.6
  },
  "luminance": 0.00761
}

Semantic roles & 50–950 ramp

primary
#210738
secondary
#4B7823
accent
#F4348E
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #210738

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

Preview Lab → · Contrast checker → · Palette generator →

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