#210F41#210F41

#210F41 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.9% C 0.089 H 294.8°. Best body text is #FFFFFF at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#210F41
RGBrgb(33, 15, 65)
HSLhsl(262, 63%, 16%)
HSVhsv(262, 77%, 25%)
CMYKcmyk(49.2%, 76.9%, 0%, 74.5%)
CIE-LABlab(9.37, 22.71, -28.39)
CIE-LCHlch(9.37, 36.36, 308.65°)
OKLaboklab(22.87% 0.0376 -0.0812)
OKLCHoklch(22.87% 0.089 294.8)
XYZxyz(1.7519, 1.0466, 5.1097)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210F41 #2F410F
analogous
#0F1641 #210F41 #3A0F41
triadic
#210F41 #41210F #0F4121
tetradic
#210F41 #410F16 #2F410F #0F413A
square
#210F41 #410F16 #2F410F #0F413A
split-complementary
#210F41 #413A0F #16410F
monochromatic
#0D0619 #0D0619 #210F41 #3A1A73 #5326A4

Accessibility & contrast

On white

17.36
#210F41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#210F41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210F41
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210F41#FFFFFF#000000##FFFFFF
##210F411.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B43
Deuteranopia (green-blind)
#001940
Tritanopia (blue-blind)
#181B26
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #210f41;
/* rgb */ color: rgb(33, 15, 65);
/* oklch */ color: oklch(22.9% 0.089 294.8);
Tailwind
colors: {
  custom: {
    50: '#604e76',
    500: '#210f41',
    950: '#000000',
  },
}
SCSS
$custom: #210f41;
$custom-light: #604e76;
$custom-dark: #000000;
JSON
{
  "hex": "#210f41",
  "rgb": {
    "r": 33,
    "g": 15,
    "b": 65
  },
  "hsl": {
    "h": 261.6,
    "s": 62.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.22868,
    "c": 0.08945,
    "h": 294.8
  },
  "luminance": 0.01047
}

Semantic roles & 50–950 ramp

primary
#210F41
secondary
#607B30
accent
#E642AB
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #210F41

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

Preview Lab → · Contrast checker → · Palette generator →

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