#210F30#210F30

#210F30 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.4% C 0.065 H 306.9°. Best body text is #FFFFFF at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#210F30
RGBrgb(33, 15, 48)
HSLhsl(273, 52%, 12%)
HSVhsv(273, 69%, 19%)
CMYKcmyk(31.3%, 68.7%, 0%, 81.2%)
CIE-LABlab(7.93, 17.36, -18.43)
CIE-LCHlch(7.93, 25.32, 313.30°)
OKLaboklab(21.37% 0.039 -0.0519)
OKLCHoklch(21.37% 0.065 306.9)
XYZxyz(1.3314, 0.8784, 2.8951)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210F30 #1E300F
analogous
#100F30 #210F30 #300F2F
triadic
#210F30 #30210F #0F3021
tetradic
#210F30 #30100F #1E300F #0F2F30
square
#210F30 #30100F #1E300F #0F2F30
split-complementary
#210F30 #2F300F #0F3010
monochromatic
#100717 #100717 #210F30 #411E5F #612C8D

Accessibility & contrast

On white

17.86
#210F30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210F30
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210F30#FFFFFF#000000##FFFFFF
##210F301.0017.861.1817.86
#FFFFFF17.861.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041731
Deuteranopia (green-blind)
#0A182F
Tritanopia (blue-blind)
#1F151D
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #210f30;
/* rgb */ color: rgb(33, 15, 48);
/* oklch */ color: oklch(21.4% 0.065 306.9);
Tailwind
colors: {
  custom: {
    50: '#5e4e68',
    500: '#210f30',
    950: '#000000',
  },
}
SCSS
$custom: #210f30;
$custom-light: #5e4e68;
$custom-dark: #000000;
JSON
{
  "hex": "#210f30",
  "rgb": {
    "r": 33,
    "g": 15,
    "b": 48
  },
  "hsl": {
    "h": 272.727,
    "s": 52.381,
    "l": 12.353
  },
  "oklch": {
    "l": 0.21369,
    "c": 0.06492,
    "h": 306.9
  },
  "luminance": 0.00878
}

Semantic roles & 50–950 ramp

primary
#210F30
secondary
#4B6A31
accent
#DC4C8D
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #210F30

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

Preview Lab → · Contrast checker → · Palette generator →

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