#210341#210341

#210341 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.1% C 0.106 H 298.8°. Best body text is #FFFFFF at 18.20:1 contrast (WCAG AA passes).

Color values

HEX#210341
RGBrgb(33, 3, 65)
HSLhsl(269, 91%, 13%)
HSVhsv(269, 95%, 25%)
CMYKcmyk(49.2%, 95.4%, 0%, 74.5%)
CIE-LABlab(6.96, 29.56, -32.34)
CIE-LCHlch(6.96, 43.81, 312.42°)
OKLaboklab(21.14% 0.0511 -0.0929)
OKLCHoklch(21.14% 0.106 298.8)
XYZxyz(1.6136, 0.7701, 5.0636)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210341 #234103
analogous
#030441 #210341 #400341
triadic
#210341 #412103 #034121
tetradic
#210341 #410304 #234103 #034140
square
#210341 #410304 #234103 #034140
split-complementary
#210341 #414003 #044103
monochromatic
#0F011D #0F011D #210341 #3F067B #5C08B6

Accessibility & contrast

On white

18.20
#210341 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#210341 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210341
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210341#FFFFFF#000000##FFFFFF
##2103411.0018.201.1518.20
#FFFFFF18.201.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001543
Deuteranopia (green-blind)
#001540
Tritanopia (blue-blind)
#191523
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #210341;
/* rgb */ color: rgb(33, 3, 65);
/* oklch */ color: oklch(21.1% 0.106 298.8);
Tailwind
colors: {
  custom: {
    50: '#614876',
    500: '#210341',
    950: '#000000',
  },
}
SCSS
$custom: #210341;
$custom-light: #614876;
$custom-dark: #000000;
JSON
{
  "hex": "#210341",
  "rgb": {
    "r": 33,
    "g": 3,
    "b": 65
  },
  "hsl": {
    "h": 269.032,
    "s": 91.176,
    "l": 13.333
  },
  "oklch": {
    "l": 0.2114,
    "c": 0.10603,
    "h": 298.8
  },
  "luminance": 0.0077
}

Semantic roles & 50–950 ramp

primary
#210341
secondary
#52831D
accent
#FF2997
background
#F6F4F7
surface
#EBE6ED
border
#C6C2C8
text
#050008
muted
#7A777B

Preview Lab

Preview with #210341

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

Preview Lab → · Contrast checker → · Palette generator →

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