#21114F#21114F

#21114F is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.106 H 287.7°. Best body text is #FFFFFF at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#21114F
RGBrgb(33, 17, 79)
HSLhsl(255, 65%, 19%)
HSVhsv(255, 78%, 31%)
CMYKcmyk(58.2%, 78.5%, 0%, 69%)
CIE-LABlab(11.20, 26.10, -35.19)
CIE-LCHlch(11.20, 43.81, 306.56°)
OKLaboklab(24.59% 0.0323 -0.1011)
OKLCHoklch(24.59% 0.106 287.7)
XYZxyz(2.2385, 1.2886, 7.5264)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21114F #3F4F11
analogous
#11204F #21114F #40114F
triadic
#21114F #4F2111 #114F21
tetradic
#21114F #4F1120 #3F4F11 #114F40
square
#21114F #4F1120 #3F4F11 #114F40
split-complementary
#21114F #4F4011 #204F11
monochromatic
#0B0519 #0C061D #21114F #361C81 #4B27B4

Accessibility & contrast

On white

16.70
#21114F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#21114F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21114F
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21114F#FFFFFF#000000##FFFFFF
##21114F1.0016.701.2616.70
#FFFFFF16.701.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F51
Deuteranopia (green-blind)
#001C4E
Tritanopia (blue-blind)
#0F212E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #21114f;
/* rgb */ color: rgb(33, 17, 79);
/* oklch */ color: oklch(24.6% 0.106 287.7);
Tailwind
colors: {
  custom: {
    50: '#625081',
    500: '#21114f',
    950: '#000000',
  },
}
SCSS
$custom: #21114f;
$custom-light: #625081;
$custom-dark: #000000;
JSON
{
  "hex": "#21114f",
  "rgb": {
    "r": 33,
    "g": 17,
    "b": 79
  },
  "hsl": {
    "h": 255.484,
    "s": 64.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.24594,
    "c": 0.10619,
    "h": 287.7
  },
  "luminance": 0.01289
}

Semantic roles & 50–950 ramp

primary
#21114F
secondary
#728833
accent
#E840BC
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05020A
muted
#7A787C

Preview Lab

Preview with #21114F

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

Preview Lab → · Contrast checker → · Palette generator →

#21114F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva