#210F56#210F56

#210F56 is a dark, moderate violet. Relative luminance 0.013; OKLCH L 25.1% C 0.118 H 285.8°. Best body text is #FFFFFF at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#210F56
RGBrgb(33, 15, 86)
HSLhsl(255, 70%, 20%)
HSVhsv(255, 83%, 34%)
CMYKcmyk(61.6%, 82.6%, 0%, 66.3%)
CIE-LABlab(11.53, 29.58, -39.43)
CIE-LCHlch(11.53, 49.29, 306.88°)
OKLaboklab(25.06% 0.0322 -0.1135)
OKLCHoklch(25.06% 0.118 285.8)
XYZxyz(2.4772, 1.3367, 8.9298)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210F56 #44560F
analogous
#0F2156 #210F56 #440F56
triadic
#210F56 #56210F #0F5621
tetradic
#210F56 #560F21 #44560F #0F5644
square
#210F56 #560F21 #44560F #0F5644
split-complementary
#210F56 #56440F #21560F
monochromatic
#0A051A #0D0622 #210F56 #35188A #4921BE

Accessibility & contrast

On white

16.57
#210F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210F56
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210F56#FFFFFF#000000##FFFFFF
##210F561.0016.571.2716.57
#FFFFFF16.571.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002058
Deuteranopia (green-blind)
#001C55
Tritanopia (blue-blind)
#072332
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #210f56;
/* rgb */ color: rgb(33, 15, 86);
/* oklch */ color: oklch(25.1% 0.118 285.8);
Tailwind
colors: {
  custom: {
    50: '#645086',
    500: '#210f56',
    950: '#000000',
  },
}
SCSS
$custom: #210f56;
$custom-light: #645086;
$custom-dark: #000000;
JSON
{
  "hex": "#210f56",
  "rgb": {
    "r": 33,
    "g": 15,
    "b": 86
  },
  "hsl": {
    "h": 255.211,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25057,
    "c": 0.118,
    "h": 285.8
  },
  "luminance": 0.01337
}

Semantic roles & 50–950 ramp

primary
#210F56
secondary
#789031
accent
#ED3BC0
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #210F56

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

Preview Lab → · Contrast checker → · Palette generator →

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