#210F3C#210F3C

#210F3C is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.4% C 0.082 H 297.8°. Best body text is #FFFFFF at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#210F3C
RGBrgb(33, 15, 60)
HSLhsl(264, 60%, 15%)
HSVhsv(264, 75%, 24%)
CMYKcmyk(45%, 75%, 0%, 76.5%)
CIE-LABlab(8.92, 21.10, -25.57)
CIE-LCHlch(8.92, 33.15, 309.53°)
OKLaboklab(22.4% 0.0383 -0.0729)
OKLCHoklch(22.4% 0.082 297.8)
XYZxyz(1.6134, 0.9912, 4.3804)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210F3C #2A3C0F
analogous
#0F143C #210F3C #380F3C
triadic
#210F3C #3C210F #0F3C21
tetradic
#210F3C #3C0F14 #2A3C0F #0F3C38
square
#210F3C #3C0F14 #2A3C0F #0F3C38
split-complementary
#210F3C #3C380F #143C0F
monochromatic
#0D0618 #0D0618 #210F3C #3C1B6D #57279E

Accessibility & contrast

On white

17.53
#210F3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#210F3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210F3C
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210F3C#FFFFFF#000000##FFFFFF
##210F3C1.0017.531.2017.53
#FFFFFF17.531.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193D
Deuteranopia (green-blind)
#00193B
Tritanopia (blue-blind)
#1B1923
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #210f3c;
/* rgb */ color: rgb(33, 15, 60);
/* oklch */ color: oklch(22.4% 0.082 297.8);
Tailwind
colors: {
  custom: {
    50: '#5f4e72',
    500: '#210f3c',
    950: '#000000',
  },
}
SCSS
$custom: #210f3c;
$custom-light: #5f4e72;
$custom-dark: #000000;
JSON
{
  "hex": "#210f3c",
  "rgb": {
    "r": 33,
    "g": 15,
    "b": 60
  },
  "hsl": {
    "h": 264,
    "s": 60,
    "l": 14.706
  },
  "oklch": {
    "l": 0.22398,
    "c": 0.08234,
    "h": 297.8
  },
  "luminance": 0.00991
}

Semantic roles & 50–950 ramp

primary
#210F3C
secondary
#5A7630
accent
#E345A4
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050108
muted
#79777B

Preview Lab

Preview with #210F3C

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

Preview Lab → · Contrast checker → · Palette generator →

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