#210328#210328

#210328 is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 18.6% C 0.079 H 319.6°. Best body text is #FFFFFF at 18.95:1 contrast (WCAG AA passes).

Color values

HEX#210328
RGBrgb(33, 3, 40)
HSLhsl(289, 86%, 8%)
HSVhsv(289, 93%, 16%)
CMYKcmyk(17.5%, 92.5%, 0%, 84.3%)
CIE-LABlab(4.89, 21.04, -17.24)
CIE-LCHlch(4.89, 27.20, 320.67°)
OKLaboklab(18.6% 0.0599 -0.0509)
OKLCHoklch(18.6% 0.079 319.6)
XYZxyz(1.0427, 0.5417, 2.0567)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210328 #0A2803
analogous
#0E0328 #210328 #28031C
triadic
#210328 #282103 #032821
tetradic
#210328 #280E03 #0A2803 #031C28
square
#210328 #280E03 #0A2803 #031C28
split-complementary
#210328 #1C2803 #03280E
monochromatic
#17021C #17021C #210328 #500761 #7F0C9A

Accessibility & contrast

On white

18.95
#210328 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#210328 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210328
18.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210328#FFFFFF#000000##FFFFFF
##2103281.0018.951.1118.95
#FFFFFF18.951.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E29
Deuteranopia (green-blind)
#051227
Tritanopia (blue-blind)
#210914
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #210328;
/* rgb */ color: rgb(33, 3, 40);
/* oklch */ color: oklch(18.6% 0.079 319.6);
Tailwind
colors: {
  custom: {
    50: '#5d4762',
    500: '#210328',
    950: '#000000',
  },
}
SCSS
$custom: #210328;
$custom-light: #5d4762;
$custom-dark: #000000;
JSON
{
  "hex": "#210328",
  "rgb": {
    "r": 33,
    "g": 3,
    "b": 40
  },
  "hsl": {
    "h": 288.649,
    "s": 86.047,
    "l": 8.431
  },
  "oklch": {
    "l": 0.186,
    "c": 0.07862,
    "h": 319.6
  },
  "luminance": 0.00542
}

Semantic roles & 50–950 ramp

primary
#210328
secondary
#2A6C1B
accent
#FC2C53
background
#F5F4F5
surface
#E9E6EA
border
#C5C2C6
text
#040005
muted
#797779

Preview Lab

Preview with #210328

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

Preview Lab → · Contrast checker → · Palette generator →

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