#210F45#210F45

#210F45 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.3% C 0.095 H 292.8°. Best body text is #FFFFFF at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#210F45
RGBrgb(33, 15, 69)
HSLhsl(260, 64%, 16%)
HSVhsv(260, 78%, 27%)
CMYKcmyk(52.2%, 78.3%, 0%, 72.9%)
CIE-LABlab(9.76, 24.01, -30.59)
CIE-LCHlch(9.76, 38.89, 308.13°)
OKLaboklab(23.26% 0.0368 -0.0876)
OKLCHoklch(23.26% 0.095 292.8)
XYZxyz(1.8719, 1.0946, 5.7417)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210F45 #33450F
analogous
#0F1845 #210F45 #3C0F45
triadic
#210F45 #45210F #0F4521
tetradic
#210F45 #450F18 #33450F #0F453C
square
#210F45 #450F18 #33450F #0F453C
split-complementary
#210F45 #453C0F #18450F
monochromatic
#0C0519 #0C0519 #210F45 #391A77 #5125AA

Accessibility & contrast

On white

17.23
#210F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#210F45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210F45
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210F45#FFFFFF#000000##FFFFFF
##210F451.0017.231.2217.23
#FFFFFF17.231.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C47
Deuteranopia (green-blind)
#001A44
Tritanopia (blue-blind)
#161D28
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #210f45;
/* rgb */ color: rgb(33, 15, 69);
/* oklch */ color: oklch(23.3% 0.095 292.8);
Tailwind
colors: {
  custom: {
    50: '#614f79',
    500: '#210f45',
    950: '#000000',
  },
}
SCSS
$custom: #210f45;
$custom-light: #614f79;
$custom-dark: #000000;
JSON
{
  "hex": "#210f45",
  "rgb": {
    "r": 33,
    "g": 15,
    "b": 69
  },
  "hsl": {
    "h": 260,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.23261,
    "c": 0.09504,
    "h": 292.8
  },
  "luminance": 0.01095
}

Semantic roles & 50–950 ramp

primary
#210F45
secondary
#657F30
accent
#E741B0
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050209
muted
#79787B

Preview Lab

Preview with #210F45

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

Preview Lab → · Contrast checker → · Palette generator →

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