#21093D#21093D

#21093D is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.6% C 0.093 H 299.4°. Best body text is #FFFFFF at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#21093D
RGBrgb(33, 9, 61)
HSLhsl(268, 74%, 14%)
HSVhsv(268, 85%, 24%)
CMYKcmyk(45.9%, 85.2%, 0%, 76.1%)
CIE-LABlab(7.73, 24.98, -28.22)
CIE-LCHlch(7.73, 37.69, 311.51°)
OKLaboklab(21.58% 0.0455 -0.0806)
OKLCHoklch(21.58% 0.093 299.4)
XYZxyz(1.5670, 0.8556, 4.4966)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21093D #253D09
analogous
#090B3D #21093D #3B093D
triadic
#21093D #3D2109 #093D21
tetradic
#21093D #3D090B #253D09 #093D3B
square
#21093D #3D090B #253D09 #093D3B
split-complementary
#21093D #3D3B09 #0B3D09
monochromatic
#0E041B #0E041B #21093D #3E1172 #5B19A8

Accessibility & contrast

On white

17.93
#21093D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#21093D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21093D
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21093D#FFFFFF#000000##FFFFFF
##21093D1.0017.931.1717.93
#FFFFFF17.931.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173E
Deuteranopia (green-blind)
#00173C
Tritanopia (blue-blind)
#1A1622
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #21093d;
/* rgb */ color: rgb(33, 9, 61);
/* oklch */ color: oklch(21.6% 0.093 299.4);
Tailwind
colors: {
  custom: {
    50: '#604b73',
    500: '#21093d',
    950: '#000000',
  },
}
SCSS
$custom: #21093d;
$custom-light: #604b73;
$custom-dark: #000000;
JSON
{
  "hex": "#21093d",
  "rgb": {
    "r": 33,
    "g": 9,
    "b": 61
  },
  "hsl": {
    "h": 267.692,
    "s": 74.286,
    "l": 13.725
  },
  "oklch": {
    "l": 0.21577,
    "c": 0.09261,
    "h": 299.4
  },
  "luminance": 0.00856
}

Semantic roles & 50–950 ramp

primary
#21093D
secondary
#547B27
accent
#F1379B
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #21093D

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

Preview Lab → · Contrast checker → · Palette generator →

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