#210F38#210F38

#210F38 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.0% C 0.077 H 300.4°. Best body text is #FFFFFF at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#210F38
RGBrgb(33, 15, 56)
HSLhsl(266, 58%, 14%)
HSVhsv(266, 73%, 22%)
CMYKcmyk(41.1%, 73.2%, 0%, 78%)
CIE-LABlab(8.57, 19.83, -23.25)
CIE-LCHlch(8.57, 30.55, 310.46°)
OKLaboklab(22.04% 0.0388 -0.066)
OKLCHoklch(22.04% 0.077 300.4)
XYZxyz(1.5117, 0.9505, 3.8444)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210F38 #26380F
analogous
#0F1238 #210F38 #360F38
triadic
#210F38 #38210F #0F3821
tetradic
#210F38 #380F12 #26380F #0F3836
square
#210F38 #380F12 #26380F #0F3836
split-complementary
#210F38 #38360F #12380F
monochromatic
#0E0618 #0E0618 #210F38 #3D1C68 #5A2999

Accessibility & contrast

On white

17.64
#210F38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#210F38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210F38
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210F38#FFFFFF#000000##FFFFFF
##210F381.0017.641.1917.64
#FFFFFF17.641.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001839
Deuteranopia (green-blind)
#021837
Tritanopia (blue-blind)
#1C1821
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #210f38;
/* rgb */ color: rgb(33, 15, 56);
/* oklch */ color: oklch(22.0% 0.077 300.4);
Tailwind
colors: {
  custom: {
    50: '#5e4e6f',
    500: '#210f38',
    950: '#000000',
  },
}
SCSS
$custom: #210f38;
$custom-light: #5e4e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#210f38",
  "rgb": {
    "r": 33,
    "g": 15,
    "b": 56
  },
  "hsl": {
    "h": 266.341,
    "s": 57.746,
    "l": 13.922
  },
  "oklch": {
    "l": 0.22038,
    "c": 0.07658,
    "h": 300.4
  },
  "luminance": 0.00951
}

Semantic roles & 50–950 ramp

primary
#210F38
secondary
#557230
accent
#E1479D
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #210F38

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

Preview Lab → · Contrast checker → · Palette generator →

#210F38 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva