#210C2E#210C2E

#210C2E is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.7% C 0.068 H 310.3°. Best body text is #FFFFFF at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#210C2E
RGBrgb(33, 12, 46)
HSLhsl(277, 59%, 11%)
HSVhsv(277, 74%, 18%)
CMYKcmyk(28.3%, 73.9%, 0%, 82%)
CIE-LABlab(7.08, 18.60, -18.31)
CIE-LCHlch(7.08, 26.10, 315.45°)
OKLaboklab(20.67% 0.0438 -0.0517)
OKLCHoklch(20.67% 0.068 310.3)
XYZxyz(1.2517, 0.7836, 2.6695)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210C2E #192E0C
analogous
#100C2E #210C2E #2E0C2A
triadic
#210C2E #2E210C #0C2E21
tetradic
#210C2E #2E100C #192E0C #0C2A2E
square
#210C2E #2E100C #192E0C #0C2A2E
split-complementary
#210C2E #2A2E0C #0C2E10
monochromatic
#110618 #110618 #210C2E #44195F #67258F

Accessibility & contrast

On white

18.15
#210C2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#210C2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210C2E
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210C2E#FFFFFF#000000##FFFFFF
##210C2E1.0018.151.1618.15
#FFFFFF18.151.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02152F
Deuteranopia (green-blind)
#08162D
Tritanopia (blue-blind)
#1F121B
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #210c2e;
/* rgb */ color: rgb(33, 12, 46);
/* oklch */ color: oklch(20.7% 0.068 310.3);
Tailwind
colors: {
  custom: {
    50: '#5e4c67',
    500: '#210c2e',
    950: '#000000',
  },
}
SCSS
$custom: #210c2e;
$custom-light: #5e4c67;
$custom-dark: #000000;
JSON
{
  "hex": "#210c2e",
  "rgb": {
    "r": 33,
    "g": 12,
    "b": 46
  },
  "hsl": {
    "h": 277.059,
    "s": 58.621,
    "l": 11.373
  },
  "oklch": {
    "l": 0.20667,
    "c": 0.0678,
    "h": 310.3
  },
  "luminance": 0.00784
}

Semantic roles & 50–950 ramp

primary
#210C2E
secondary
#446A2C
accent
#E24682
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #210C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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