#210732#210732

#210732 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.2% C 0.082 H 308.4°. Best body text is #FFFFFF at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#210732
RGBrgb(33, 7, 50)
HSLhsl(276, 75%, 11%)
HSVhsv(276, 86%, 20%)
CMYKcmyk(34%, 86%, 0%, 80.4%)
CIE-LABlab(6.37, 22.48, -22.40)
CIE-LCHlch(6.37, 31.74, 315.10°)
OKLaboklab(20.21% 0.0509 -0.0641)
OKLCHoklch(20.21% 0.082 308.4)
XYZxyz(1.2788, 0.7056, 3.0858)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210732 #183207
analogous
#0B0732 #210732 #32072D
triadic
#210732 #322107 #073221
tetradic
#210732 #320B07 #183207 #072D32
square
#210732 #320B07 #183207 #072D32
split-complementary
#210732 #2D3207 #07320B
monochromatic
#12041B #12041B #210732 #440F68 #68169D

Accessibility & contrast

On white

18.40
#210732 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#210732 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210732
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210732#FFFFFF#000000##FFFFFF
##2107321.0018.401.1418.40
#FFFFFF18.401.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001333
Deuteranopia (green-blind)
#001431
Tritanopia (blue-blind)
#1E111B
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #210732;
/* rgb */ color: rgb(33, 7, 50);
/* oklch */ color: oklch(20.2% 0.082 308.4);
Tailwind
colors: {
  custom: {
    50: '#5e496a',
    500: '#210732',
    950: '#000000',
  },
}
SCSS
$custom: #210732;
$custom-light: #5e496a;
$custom-dark: #000000;
JSON
{
  "hex": "#210732",
  "rgb": {
    "r": 33,
    "g": 7,
    "b": 50
  },
  "hsl": {
    "h": 276.279,
    "s": 75.439,
    "l": 11.176
  },
  "oklch": {
    "l": 0.20206,
    "c": 0.08189,
    "h": 308.4
  },
  "luminance": 0.00706
}

Semantic roles & 50–950 ramp

primary
#210732
secondary
#427223
accent
#F23680
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #210732

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

Preview Lab → · Contrast checker → · Palette generator →

#210732 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva