#21103D#21103D

#21103D is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.7% C 0.082 H 296.7°. Best body text is #FFFFFF at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#21103D
RGBrgb(33, 16, 61)
HSLhsl(263, 58%, 15%)
HSVhsv(263, 74%, 24%)
CMYKcmyk(45.9%, 73.8%, 0%, 76.1%)
CIE-LABlab(9.25, 20.77, -25.75)
CIE-LCHlch(9.25, 33.08, 308.88°)
OKLaboklab(22.66% 0.0369 -0.0734)
OKLCHoklch(22.66% 0.082 296.7)
XYZxyz(1.6546, 1.0308, 4.5258)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21103D #2C3D10
analogous
#10153D #21103D #38103D
triadic
#21103D #3D2110 #103D21
tetradic
#21103D #3D1015 #2C3D10 #103D38
square
#21103D #3D1015 #2C3D10 #103D38
split-complementary
#21103D #3D3810 #153D10
monochromatic
#0D0618 #0D0618 #21103D #3B1D6D #55299E

Accessibility & contrast

On white

17.41
#21103D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#21103D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21103D
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21103D#FFFFFF#000000##FFFFFF
##21103D1.0017.411.2117.41
#FFFFFF17.411.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21103d;
/* rgb */ color: rgb(33, 16, 61);
/* oklch */ color: oklch(22.7% 0.082 296.7);
Tailwind
colors: {
  custom: {
    50: '#5f4f73',
    500: '#21103d',
    950: '#000000',
  },
}
SCSS
$custom: #21103d;
$custom-light: #5f4f73;
$custom-dark: #000000;
JSON
{
  "hex": "#21103d",
  "rgb": {
    "r": 33,
    "g": 16,
    "b": 61
  },
  "hsl": {
    "h": 262.667,
    "s": 58.442,
    "l": 15.098
  },
  "oklch": {
    "l": 0.22662,
    "c": 0.08215,
    "h": 296.7
  },
  "luminance": 0.01031
}

Semantic roles & 50–950 ramp

primary
#21103D
secondary
#5D7732
accent
#E246A7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #21103D

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

Preview Lab → · Contrast checker → · Palette generator →

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