#22053F#22053F

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

Color values

HEX#22053F
RGBrgb(34, 5, 63)
HSLhsl(270, 85%, 13%)
HSVhsv(270, 92%, 25%)
CMYKcmyk(46%, 92.1%, 0%, 75.3%)
CIE-LABlab(7.29, 28.03, -30.36)
CIE-LCHlch(7.29, 41.32, 312.72°)
OKLaboklab(21.36% 0.0514 -0.0869)
OKLCHoklch(21.36% 0.101 300.6)
XYZxyz(1.6109, 0.8075, 4.7727)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22053F #223F05
analogous
#05053F #22053F #3F053F
triadic
#22053F #3F2205 #053F22
tetradic
#22053F #3F0505 #223F05 #053F3F
square
#22053F #3F0505 #223F05 #053F3F
split-complementary
#22053F #3F3F05 #053F05
monochromatic
#0F021C #0F021C #22053F #410978 #5F0EB0

Accessibility & contrast

On white

18.08
#22053F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22053F
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22053F#FFFFFF#000000##FFFFFF
##22053F1.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22053f;
/* rgb */ color: rgb(34, 5, 63);
/* oklch */ color: oklch(21.4% 0.101 300.6);
Tailwind
colors: {
  custom: {
    50: '#614975',
    500: '#22053f',
    950: '#000000',
  },
}
SCSS
$custom: #22053f;
$custom-light: #614975;
$custom-dark: #000000;
JSON
{
  "hex": "#22053f",
  "rgb": {
    "r": 34,
    "g": 5,
    "b": 63
  },
  "hsl": {
    "h": 270,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.21359,
    "c": 0.10098,
    "h": 300.6
  },
  "luminance": 0.00808
}

Semantic roles & 50–950 ramp

primary
#22053F
secondary
#508020
accent
#FC2C94
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #22053F

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

Preview Lab → · Contrast checker → · Palette generator →

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