#210F35#210F35

#210F35 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.8% C 0.072 H 302.6°. Best body text is #FFFFFF at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#210F35
RGBrgb(33, 15, 53)
HSLhsl(268, 56%, 13%)
HSVhsv(268, 72%, 21%)
CMYKcmyk(37.7%, 71.7%, 0%, 79.2%)
CIE-LABlab(8.32, 18.89, -21.47)
CIE-LCHlch(8.32, 28.60, 311.35°)
OKLaboklab(21.78% 0.039 -0.0608)
OKLCHoklch(21.78% 0.072 302.6)
XYZxyz(1.4405, 0.9220, 3.4695)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210F35 #23350F
analogous
#0F1035 #210F35 #340F35
triadic
#210F35 #35210F #0F3521
tetradic
#210F35 #350F10 #23350F #0F3534
square
#210F35 #350F10 #23350F #0F3534
split-complementary
#210F35 #35340F #10350F
monochromatic
#0F0718 #0F0718 #210F35 #3F1C65 #5C2A94

Accessibility & contrast

On white

17.73
#210F35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#210F35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210F35
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210F35#FFFFFF#000000##FFFFFF
##210F351.0017.731.1817.73
#FFFFFF17.731.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001836
Deuteranopia (green-blind)
#051834
Tritanopia (blue-blind)
#1D1720
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #210f35;
/* rgb */ color: rgb(33, 15, 53);
/* oklch */ color: oklch(21.8% 0.072 302.6);
Tailwind
colors: {
  custom: {
    50: '#5e4e6c',
    500: '#210f35',
    950: '#000000',
  },
}
SCSS
$custom: #210f35;
$custom-light: #5e4e6c;
$custom-dark: #000000;
JSON
{
  "hex": "#210f35",
  "rgb": {
    "r": 33,
    "g": 15,
    "b": 53
  },
  "hsl": {
    "h": 268.421,
    "s": 55.882,
    "l": 13.333
  },
  "oklch": {
    "l": 0.21779,
    "c": 0.07222,
    "h": 302.6
  },
  "luminance": 0.00922
}

Semantic roles & 50–950 ramp

primary
#210F35
secondary
#526F31
accent
#DF4998
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040107
muted
#79777A

Preview Lab

Preview with #210F35

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

Preview Lab → · Contrast checker → · Palette generator →

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