#21144C#21144C

#21144C is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.098 H 287.7°. Best body text is #FFFFFF at 16.55:1 contrast (WCAG AA passes).

Color values

HEX#21144C
RGBrgb(33, 20, 76)
HSLhsl(254, 58%, 19%)
HSVhsv(254, 74%, 30%)
CMYKcmyk(56.6%, 73.7%, 0%, 70.2%)
CIE-LABlab(11.59, 23.18, -32.48)
CIE-LCHlch(11.59, 39.90, 305.51°)
OKLaboklab(24.78% 0.0297 -0.0932)
OKLCHoklch(24.78% 0.098 287.7)
XYZxyz(2.1815, 1.3453, 6.9808)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21144C #3F4C14
analogous
#14234C #21144C #3D144C
triadic
#21144C #4C2114 #144C21
tetradic
#21144C #4C1423 #3F4C14 #144C3D
square
#21144C #4C1423 #3F4C14 #144C3D
split-complementary
#21144C #4C3D14 #234C14
monochromatic
#0B0618 #0C071C #21144C #36217C #4B2EAD

Accessibility & contrast

On white

16.55
#21144C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#21144C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21144C
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21144C#FFFFFF#000000##FFFFFF
##21144C1.0016.551.2716.55
#FFFFFF16.551.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204E
Deuteranopia (green-blind)
#001D4B
Tritanopia (blue-blind)
#11222E
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #21144c;
/* rgb */ color: rgb(33, 20, 76);
/* oklch */ color: oklch(24.8% 0.098 287.7);
Tailwind
colors: {
  custom: {
    50: '#61527f',
    500: '#21144c',
    950: '#000000',
  },
}
SCSS
$custom: #21144c;
$custom-light: #61527f;
$custom-dark: #000000;
JSON
{
  "hex": "#21144c",
  "rgb": {
    "r": 33,
    "g": 20,
    "b": 76
  },
  "hsl": {
    "h": 253.929,
    "s": 58.333,
    "l": 18.824
  },
  "oklch": {
    "l": 0.24783,
    "c": 0.09783,
    "h": 287.7
  },
  "luminance": 0.01345
}

Semantic roles & 50–950 ramp

primary
#21144C
secondary
#728438
accent
#E246BD
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05020A
muted
#7A787C

Preview Lab

Preview with #21144C

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

Preview Lab → · Contrast checker → · Palette generator →

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