#210C3E#210C3E

#210C3E is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.1% C 0.090 H 297.8°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#210C3E
RGBrgb(33, 12, 62)
HSLhsl(265, 68%, 15%)
HSVhsv(265, 81%, 24%)
CMYKcmyk(46.8%, 80.6%, 0%, 75.7%)
CIE-LABlab(8.43, 23.58, -27.79)
CIE-LCHlch(8.43, 36.45, 310.32°)
OKLaboklab(22.11% 0.0418 -0.0794)
OKLCHoklch(22.11% 0.09 297.8)
XYZxyz(1.6279, 0.9341, 4.6510)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210C3E #293E0C
analogous
#0C103E #210C3E #3A0C3E
triadic
#210C3E #3E210C #0C3E21
tetradic
#210C3E #3E0C10 #293E0C #0C3E3A
square
#210C3E #3E0C10 #293E0C #0C3E3A
split-complementary
#210C3E #3E3A0C #103E0C
monochromatic
#0E051A #0E051A #210C3E #3C1671 #5820A5

Accessibility & contrast

On white

17.69
#210C3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#210C3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210C3E
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210C3E#FFFFFF#000000##FFFFFF
##210C3E1.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183F
Deuteranopia (green-blind)
#00183D
Tritanopia (blue-blind)
#1A1824
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #210c3e;
/* rgb */ color: rgb(33, 12, 62);
/* oklch */ color: oklch(22.1% 0.090 297.8);
Tailwind
colors: {
  custom: {
    50: '#604c74',
    500: '#210c3e',
    950: '#000000',
  },
}
SCSS
$custom: #210c3e;
$custom-light: #604c74;
$custom-dark: #000000;
JSON
{
  "hex": "#210c3e",
  "rgb": {
    "r": 33,
    "g": 12,
    "b": 62
  },
  "hsl": {
    "h": 265.2,
    "s": 67.568,
    "l": 14.51
  },
  "oklch": {
    "l": 0.22106,
    "c": 0.08973,
    "h": 297.8
  },
  "luminance": 0.00934
}

Semantic roles & 50–950 ramp

primary
#210C3E
secondary
#597A2C
accent
#EA3DA2
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #210C3E

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

Preview Lab → · Contrast checker → · Palette generator →

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