#21053F#21053F

#21053F is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.2% C 0.101 H 299.5°. Best body text is #FFFFFF at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#21053F
RGBrgb(33, 5, 63)
HSLhsl(269, 85%, 13%)
HSVhsv(269, 92%, 25%)
CMYKcmyk(47.6%, 92.1%, 0%, 75.3%)
CIE-LABlab(7.14, 27.81, -30.61)
CIE-LCHlch(7.14, 41.36, 312.26°)
OKLaboklab(21.21% 0.0496 -0.0878)
OKLCHoklch(21.21% 0.101 299.5)
XYZxyz(1.5784, 0.7907, 4.7711)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21053F #233F05
analogous
#05063F #21053F #3E053F
triadic
#21053F #3F2105 #053F21
tetradic
#21053F #3F0506 #233F05 #053F3E
square
#21053F #3F0506 #233F05 #053F3E
split-complementary
#21053F #3F3E05 #063F05
monochromatic
#0F021C #0F021C #21053F #3F0978 #5C0EB0

Accessibility & contrast

On white

18.13
#21053F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#21053F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21053F
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21053F#FFFFFF#000000##FFFFFF
##21053F1.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001641
Deuteranopia (green-blind)
#00153E
Tritanopia (blue-blind)
#1A1522
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #21053f;
/* rgb */ color: rgb(33, 5, 63);
/* oklch */ color: oklch(21.2% 0.101 299.5);
Tailwind
colors: {
  custom: {
    50: '#614975',
    500: '#21053f',
    950: '#000000',
  },
}
SCSS
$custom: #21053f;
$custom-light: #614975;
$custom-dark: #000000;
JSON
{
  "hex": "#21053f",
  "rgb": {
    "r": 33,
    "g": 5,
    "b": 63
  },
  "hsl": {
    "h": 268.966,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.21212,
    "c": 0.1008,
    "h": 299.5
  },
  "luminance": 0.00791
}

Semantic roles & 50–950 ramp

primary
#21053F
secondary
#528020
accent
#FC2C97
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #21053F

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

Preview Lab → · Contrast checker → · Palette generator →

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