#210346#210346

#210346 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.7% C 0.112 H 295.9°. Best body text is #FFFFFF at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#210346
RGBrgb(33, 3, 70)
HSLhsl(267, 92%, 14%)
HSVhsv(267, 96%, 27%)
CMYKcmyk(52.9%, 95.7%, 0%, 72.5%)
CIE-LABlab(7.50, 31.10, -34.99)
CIE-LCHlch(7.50, 46.81, 311.63°)
OKLaboklab(21.72% 0.0487 -0.1004)
OKLCHoklch(21.72% 0.112 295.9)
XYZxyz(1.7650, 0.8306, 5.8605)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210346 #284603
analogous
#030646 #210346 #430346
triadic
#210346 #462103 #034621
tetradic
#210346 #460306 #284603 #034643
square
#210346 #460306 #284603 #034643
split-complementary
#210346 #464303 #064603
monochromatic
#0E011D #0E011D #210346 #3D0681 #5808BB

Accessibility & contrast

On white

18.01
#210346 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#210346 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210346
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210346#FFFFFF#000000##FFFFFF
##2103461.0018.011.1718.01
#FFFFFF18.011.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001748
Deuteranopia (green-blind)
#001645
Tritanopia (blue-blind)
#161726
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #210346;
/* rgb */ color: rgb(33, 3, 70);
/* oklch */ color: oklch(21.7% 0.112 295.9);
Tailwind
colors: {
  custom: {
    50: '#62487a',
    500: '#210346',
    950: '#000000',
  },
}
SCSS
$custom: #210346;
$custom-light: #62487a;
$custom-dark: #000000;
JSON
{
  "hex": "#210346",
  "rgb": {
    "r": 33,
    "g": 3,
    "b": 70
  },
  "hsl": {
    "h": 266.866,
    "s": 91.781,
    "l": 14.314
  },
  "oklch": {
    "l": 0.21715,
    "c": 0.11165,
    "h": 295.9
  },
  "luminance": 0.00831
}

Semantic roles & 50–950 ramp

primary
#210346
secondary
#58871D
accent
#FF299F
background
#F6F4F7
surface
#EBE6EE
border
#C6C2C9
text
#050109
muted
#7A777B

Preview Lab

Preview with #210346

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

Preview Lab → · Contrast checker → · Palette generator →

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