#210646#210646

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

Color values

HEX#210646
RGBrgb(33, 6, 70)
HSLhsl(265, 84%, 15%)
HSVhsv(265, 91%, 27%)
CMYKcmyk(52.9%, 91.4%, 0%, 72.5%)
CIE-LABlab(8.09, 29.37, -34.02)
CIE-LCHlch(8.09, 44.95, 310.81°)
OKLaboklab(22.13% 0.0456 -0.0976)
OKLCHoklch(22.13% 0.108 295)
XYZxyz(1.7975, 0.8957, 5.8713)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210646 #2B4606
analogous
#060B46 #210646 #410646
triadic
#210646 #462106 #064621
tetradic
#210646 #46060B #2B4606 #064641
square
#210646 #46060B #2B4606 #064641
split-complementary
#210646 #464106 #0B4606
monochromatic
#0D021C #0D021C #210646 #3C0B7E #5610B7

Accessibility & contrast

On white

17.81
#210646 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210646
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210646#FFFFFF#000000##FFFFFF
##2106461.0017.811.1817.81
#FFFFFF17.811.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001848
Deuteranopia (green-blind)
#001745
Tritanopia (blue-blind)
#161927
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #210646;
/* rgb */ color: rgb(33, 6, 70);
/* oklch */ color: oklch(22.1% 0.108 295.0);
Tailwind
colors: {
  custom: {
    50: '#624a7a',
    500: '#210646',
    950: '#000000',
  },
}
SCSS
$custom: #210646;
$custom-light: #624a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#210646",
  "rgb": {
    "r": 33,
    "g": 6,
    "b": 70
  },
  "hsl": {
    "h": 265.313,
    "s": 84.211,
    "l": 14.902
  },
  "oklch": {
    "l": 0.22125,
    "c": 0.10775,
    "h": 295
  },
  "luminance": 0.00896
}

Semantic roles & 50–950 ramp

primary
#210646
secondary
#5C8522
accent
#FA2DA4
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#050109
muted
#7A777B

Preview Lab

Preview with #210646

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

Preview Lab → · Contrast checker → · Palette generator →

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