#210F57#210F57

#210F57 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.2% C 0.119 H 285.5°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#210F57
RGBrgb(33, 15, 87)
HSLhsl(255, 71%, 20%)
HSVhsv(255, 83%, 34%)
CMYKcmyk(62.1%, 82.8%, 0%, 65.9%)
CIE-LABlab(11.64, 29.91, -39.92)
CIE-LCHlch(11.64, 49.88, 306.84°)
OKLaboklab(25.17% 0.0318 -0.115)
OKLCHoklch(25.17% 0.119 285.5)
XYZxyz(2.5178, 1.3530, 9.1434)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210F57 #45570F
analogous
#0F2157 #210F57 #450F57
triadic
#210F57 #57210F #0F5721
tetradic
#210F57 #570F21 #45570F #0F5745
square
#210F57 #570F21 #45570F #0F5745
split-complementary
#210F57 #57450F #21570F
monochromatic
#0A051A #0D0623 #210F57 #35188B #4921BF

Accessibility & contrast

On white

16.53
#210F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#210F57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210F57
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210F57#FFFFFF#000000##FFFFFF
##210F571.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002159
Deuteranopia (green-blind)
#001D56
Tritanopia (blue-blind)
#062432
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #210f57;
/* rgb */ color: rgb(33, 15, 87);
/* oklch */ color: oklch(25.2% 0.119 285.5);
Tailwind
colors: {
  custom: {
    50: '#645087',
    500: '#210f57',
    950: '#000000',
  },
}
SCSS
$custom: #210f57;
$custom-light: #645087;
$custom-dark: #000000;
JSON
{
  "hex": "#210f57",
  "rgb": {
    "r": 33,
    "g": 15,
    "b": 87
  },
  "hsl": {
    "h": 255,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.25168,
    "c": 0.11932,
    "h": 285.5
  },
  "luminance": 0.01353
}

Semantic roles & 50–950 ramp

primary
#210F57
secondary
#799131
accent
#ED3AC1
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #210F57

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

Preview Lab → · Contrast checker → · Palette generator →

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