#210946#210946

#210946 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.5% C 0.104 H 294.2°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#210946
RGBrgb(33, 9, 70)
HSLhsl(264, 77%, 15%)
HSVhsv(264, 87%, 27%)
CMYKcmyk(52.9%, 87.1%, 0%, 72.5%)
CIE-LABlab(8.66, 27.72, -33.09)
CIE-LCHlch(8.66, 43.16, 309.95°)
OKLaboklab(22.52% 0.0427 -0.0949)
OKLCHoklch(22.52% 0.104 294.2)
XYZxyz(1.8301, 0.9608, 5.8822)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210946 #2E4609
analogous
#090F46 #210946 #3F0946
triadic
#210946 #462109 #094621
tetradic
#210946 #46090F #2E4609 #09463F
square
#210946 #46090F #2E4609 #09463F
split-complementary
#210946 #463F09 #0F4609
monochromatic
#0D031B #0D031B #210946 #3B107C #5417B2

Accessibility & contrast

On white

17.61
#210946 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210946
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210946#FFFFFF#000000##FFFFFF
##2109461.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #210946;
/* rgb */ color: rgb(33, 9, 70);
/* oklch */ color: oklch(22.5% 0.104 294.2);
Tailwind
colors: {
  custom: {
    50: '#614b7a',
    500: '#210946',
    950: '#000000',
  },
}
SCSS
$custom: #210946;
$custom-light: #614b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#210946",
  "rgb": {
    "r": 33,
    "g": 9,
    "b": 70
  },
  "hsl": {
    "h": 263.607,
    "s": 77.215,
    "l": 15.49
  },
  "oklch": {
    "l": 0.2252,
    "c": 0.10406,
    "h": 294.2
  },
  "luminance": 0.00961
}

Semantic roles & 50–950 ramp

primary
#210946
secondary
#5F8427
accent
#F434A8
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050109
muted
#7A777B

Preview Lab

Preview with #210946

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

Preview Lab → · Contrast checker → · Palette generator →

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