#210846#210846

#210846 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.4% C 0.105 H 294.5°. Best body text is #FFFFFF at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#210846
RGBrgb(33, 8, 70)
HSLhsl(264, 79%, 15%)
HSVhsv(264, 89%, 27%)
CMYKcmyk(52.9%, 88.6%, 0%, 72.5%)
CIE-LABlab(8.47, 28.26, -33.40)
CIE-LCHlch(8.47, 43.75, 310.24°)
OKLaboklab(22.39% 0.0436 -0.0958)
OKLCHoklch(22.39% 0.105 294.5)
XYZxyz(1.8192, 0.9391, 5.8786)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210846 #2D4608
analogous
#080E46 #210846 #400846
triadic
#210846 #462108 #084621
tetradic
#210846 #46080E #2D4608 #084640
square
#210846 #46080E #2D4608 #084640
split-complementary
#210846 #464008 #0E4608
monochromatic
#0D031B #0D031B #210846 #3B0E7D #5515B4

Accessibility & contrast

On white

17.68
#210846 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#210846 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210846
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210846#FFFFFF#000000##FFFFFF
##2108461.0017.681.1917.68
#FFFFFF17.681.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001948
Deuteranopia (green-blind)
#001745
Tritanopia (blue-blind)
#161A27
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #210846;
/* rgb */ color: rgb(33, 8, 70);
/* oklch */ color: oklch(22.4% 0.105 294.5);
Tailwind
colors: {
  custom: {
    50: '#614b7a',
    500: '#210846',
    950: '#000000',
  },
}
SCSS
$custom: #210846;
$custom-light: #614b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#210846",
  "rgb": {
    "r": 33,
    "g": 8,
    "b": 70
  },
  "hsl": {
    "h": 264.194,
    "s": 79.487,
    "l": 15.294
  },
  "oklch": {
    "l": 0.2239,
    "c": 0.10527,
    "h": 294.5
  },
  "luminance": 0.00939
}

Semantic roles & 50–950 ramp

primary
#210846
secondary
#5E8426
accent
#F632A7
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050109
muted
#7A777B

Preview Lab

Preview with #210846

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

Preview Lab → · Contrast checker → · Palette generator →

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