#210C38#210C38

#210C38 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.5% C 0.082 H 301.8°. Best body text is #FFFFFF at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#210C38
RGBrgb(33, 12, 56)
HSLhsl(269, 65%, 13%)
HSVhsv(269, 79%, 22%)
CMYKcmyk(41.1%, 78.6%, 0%, 78%)
CIE-LABlab(7.87, 21.73, -24.37)
CIE-LCHlch(7.87, 32.65, 311.72°)
OKLaboklab(21.54% 0.043 -0.0693)
OKLCHoklch(21.54% 0.082 301.8)
XYZxyz(1.4723, 0.8718, 3.8313)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210C38 #23380C
analogous
#0C0D38 #210C38 #370C38
triadic
#210C38 #38210C #0C3821
tetradic
#210C38 #380C0D #23380C #0C3837
square
#210C38 #380C0D #23380C #0C3837
split-complementary
#210C38 #38370C #0D380C
monochromatic
#0F0519 #0F0519 #210C38 #3F176A #5C229D

Accessibility & contrast

On white

17.88
#210C38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#210C38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210C38
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210C38#FFFFFF#000000##FFFFFF
##210C381.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001739
Deuteranopia (green-blind)
#001737
Tritanopia (blue-blind)
#1C1620
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #210c38;
/* rgb */ color: rgb(33, 12, 56);
/* oklch */ color: oklch(21.5% 0.082 301.8);
Tailwind
colors: {
  custom: {
    50: '#5f4c6f',
    500: '#210c38',
    950: '#000000',
  },
}
SCSS
$custom: #210c38;
$custom-light: #5f4c6f;
$custom-dark: #000000;
JSON
{
  "hex": "#210c38",
  "rgb": {
    "r": 33,
    "g": 12,
    "b": 56
  },
  "hsl": {
    "h": 268.636,
    "s": 64.706,
    "l": 13.333
  },
  "oklch": {
    "l": 0.21535,
    "c": 0.08157,
    "h": 301.8
  },
  "luminance": 0.00872
}

Semantic roles & 50–950 ramp

primary
#210C38
secondary
#52742C
accent
#E84098
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #210C38

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

Preview Lab → · Contrast checker → · Palette generator →

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