#210F70#210F70

#210F70 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 28.1% C 0.151 H 278.9°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#210F70
RGBrgb(33, 15, 112)
HSLhsl(251, 76%, 25%)
HSVhsv(251, 87%, 44%)
CMYKcmyk(70.5%, 86.6%, 0%, 56.1%)
CIE-LABlab(14.59, 37.92, -51.65)
CIE-LCHlch(14.59, 64.07, 306.29°)
OKLaboklab(28.09% 0.0234 -0.1491)
OKLCHoklch(28.09% 0.151 278.9)
XYZxyz(3.7217, 1.8345, 15.4841)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210F70 #5E700F
analogous
#0F2E70 #210F70 #520F70
triadic
#210F70 #70210F #0F7021
tetradic
#210F70 #700F2E #5E700F #0F7052
square
#210F70 #700F2E #5E700F #0F7052
split-complementary
#210F70 #70520F #2E700F
monochromatic
#08041B #11083A #210F70 #3116A6 #411DDC

Accessibility & contrast

On white

15.36
#210F70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#210F70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210F70
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210F70#FFFFFF#000000##FFFFFF
##210F701.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002873
Deuteranopia (green-blind)
#00216E
Tritanopia (blue-blind)
#002E41
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #210f70;
/* rgb */ color: rgb(33, 15, 112);
/* oklch */ color: oklch(28.1% 0.151 278.9);
Tailwind
colors: {
  custom: {
    50: '#6a529a',
    500: '#210f70',
    950: '#000000',
  },
}
SCSS
$custom: #210f70;
$custom-light: #6a529a;
$custom-dark: #000000;
JSON
{
  "hex": "#210f70",
  "rgb": {
    "r": 33,
    "g": 15,
    "b": 112
  },
  "hsl": {
    "h": 251.134,
    "s": 76.378,
    "l": 24.902
  },
  "oklch": {
    "l": 0.28089,
    "c": 0.15096,
    "h": 278.9
  },
  "luminance": 0.01835
}

Semantic roles & 50–950 ramp

primary
#210F70
secondary
#92A833
accent
#F335D0
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #210F70

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

Preview Lab → · Contrast checker → · Palette generator →

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