#210843#210843

#210843 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.1% C 0.102 H 296.1°. Best body text is #FFFFFF at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#210843
RGBrgb(33, 8, 67)
HSLhsl(265, 79%, 15%)
HSVhsv(265, 88%, 26%)
CMYKcmyk(50.7%, 88.1%, 0%, 73.7%)
CIE-LABlab(8.15, 27.36, -31.81)
CIE-LCHlch(8.15, 41.96, 310.70°)
OKLaboklab(22.07% 0.0447 -0.0912)
OKLCHoklch(22.07% 0.102 296.1)
XYZxyz(1.7269, 0.9022, 5.3923)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210843 #2A4308
analogous
#080C43 #210843 #3F0843
triadic
#210843 #432108 #084321
tetradic
#210843 #43080C #2A4308 #08433F
square
#210843 #43080C #2A4308 #08433F
split-complementary
#210843 #433F08 #0C4308
monochromatic
#0D031B #0D031B #210843 #3C0F7A #5715B0

Accessibility & contrast

On white

17.79
#210843 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#210843 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210843
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210843#FFFFFF#000000##FFFFFF
##2108431.0017.791.1817.79
#FFFFFF17.791.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001845
Deuteranopia (green-blind)
#001742
Tritanopia (blue-blind)
#181825
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #210843;
/* rgb */ color: rgb(33, 8, 67);
/* oklch */ color: oklch(22.1% 0.102 296.1);
Tailwind
colors: {
  custom: {
    50: '#614b78',
    500: '#210843',
    950: '#000000',
  },
}
SCSS
$custom: #210843;
$custom-light: #614b78;
$custom-dark: #000000;
JSON
{
  "hex": "#210843",
  "rgb": {
    "r": 33,
    "g": 8,
    "b": 67
  },
  "hsl": {
    "h": 265.424,
    "s": 78.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.22065,
    "c": 0.10153,
    "h": 296.1
  },
  "luminance": 0.00902
}

Semantic roles & 50–950 ramp

primary
#210843
secondary
#5A8125
accent
#F533A3
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050109
muted
#79777B

Preview Lab

Preview with #210843

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

Preview Lab → · Contrast checker → · Palette generator →

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