#21103C#21103C

#21103C is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.6% C 0.081 H 297.3°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#21103C
RGBrgb(33, 16, 60)
HSLhsl(263, 58%, 15%)
HSVhsv(263, 73%, 24%)
CMYKcmyk(45%, 73.3%, 0%, 76.5%)
CIE-LABlab(9.16, 20.45, -25.18)
CIE-LCHlch(9.16, 32.44, 309.08°)
OKLaboklab(22.57% 0.037 -0.0717)
OKLCHoklch(22.57% 0.081 297.3)
XYZxyz(1.6279, 1.0201, 4.3852)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21103C #2B3C10
analogous
#10153C #21103C #37103C
triadic
#21103C #3C2110 #103C21
tetradic
#21103C #3C1015 #2B3C10 #103C37
square
#21103C #3C1015 #2B3C10 #103C37
split-complementary
#21103C #3C3710 #153C10
monochromatic
#0D0618 #0D0618 #21103C #3C1D6C #562A9D

Accessibility & contrast

On white

17.44
#21103C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#21103C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21103C
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21103C#FFFFFF#000000##FFFFFF
##21103C1.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3D
Deuteranopia (green-blind)
#00193B
Tritanopia (blue-blind)
#1A1A24
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #21103c;
/* rgb */ color: rgb(33, 16, 60);
/* oklch */ color: oklch(22.6% 0.081 297.3);
Tailwind
colors: {
  custom: {
    50: '#5f4f72',
    500: '#21103c',
    950: '#000000',
  },
}
SCSS
$custom: #21103c;
$custom-light: #5f4f72;
$custom-dark: #000000;
JSON
{
  "hex": "#21103c",
  "rgb": {
    "r": 33,
    "g": 16,
    "b": 60
  },
  "hsl": {
    "h": 263.182,
    "s": 57.895,
    "l": 14.902
  },
  "oklch": {
    "l": 0.22571,
    "c": 0.0807,
    "h": 297.3
  },
  "luminance": 0.0102
}

Semantic roles & 50–950 ramp

primary
#21103C
secondary
#5C7632
accent
#E147A5
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050208
muted
#79787B

Preview Lab

Preview with #21103C

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

Preview Lab → · Contrast checker → · Palette generator →

#21103C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva