#210945#210945

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

Color values

HEX#210945
RGBrgb(33, 9, 69)
HSLhsl(264, 77%, 15%)
HSVhsv(264, 87%, 27%)
CMYKcmyk(52.2%, 87%, 0%, 72.9%)
CIE-LABlab(8.55, 27.41, -32.56)
CIE-LCHlch(8.55, 42.56, 310.09°)
OKLaboklab(22.41% 0.043 -0.0934)
OKLCHoklch(22.41% 0.103 294.7)
XYZxyz(1.7988, 0.9483, 5.7173)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210945 #2D4509
analogous
#090F45 #210945 #3F0945
triadic
#210945 #452109 #094521
tetradic
#210945 #45090F #2D4509 #09453F
square
#210945 #45090F #2D4509 #09453F
split-complementary
#210945 #453F09 #0F4509
monochromatic
#0D041B #0D041B #210945 #3B107B #5517B1

Accessibility & contrast

On white

17.65
#210945 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210945
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210945#FFFFFF#000000##FFFFFF
##2109451.0017.651.1917.65
#FFFFFF17.651.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #210945;
/* rgb */ color: rgb(33, 9, 69);
/* oklch */ color: oklch(22.4% 0.103 294.7);
Tailwind
colors: {
  custom: {
    50: '#614b79',
    500: '#210945',
    950: '#000000',
  },
}
SCSS
$custom: #210945;
$custom-light: #614b79;
$custom-dark: #000000;
JSON
{
  "hex": "#210945",
  "rgb": {
    "r": 33,
    "g": 9,
    "b": 69
  },
  "hsl": {
    "h": 264,
    "s": 76.923,
    "l": 15.294
  },
  "oklch": {
    "l": 0.22412,
    "c": 0.1028,
    "h": 294.7
  },
  "luminance": 0.00948
}

Semantic roles & 50–950 ramp

primary
#210945
secondary
#5E8327
accent
#F334A7
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050109
muted
#7A777B

Preview Lab

Preview with #210945

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

Preview Lab → · Contrast checker → · Palette generator →

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