#22063D#22063D

#22063D is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.3% C 0.097 H 301.6°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#22063D
RGBrgb(34, 6, 61)
HSLhsl(271, 82%, 13%)
HSVhsv(271, 90%, 24%)
CMYKcmyk(44.3%, 90.2%, 0%, 76.1%)
CIE-LABlab(7.29, 26.86, -28.93)
CIE-LCHlch(7.29, 39.47, 312.88°)
OKLaboklab(21.29% 0.0509 -0.0827)
OKLCHoklch(21.29% 0.097 301.6)
XYZxyz(1.5669, 0.8072, 4.4872)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22063D #213D06
analogous
#06063D #22063D #3D063C
triadic
#22063D #3D2206 #063D22
tetradic
#22063D #3D0606 #213D06 #063C3D
square
#22063D #3D0606 #213D06 #063C3D
split-complementary
#22063D #3C3D06 #063D06
monochromatic
#10031C #10031C #22063D #410B75 #6011AC

Accessibility & contrast

On white

18.08
#22063D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#22063D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22063D
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22063D#FFFFFF#000000##FFFFFF
##22063D1.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)
#00163F
Deuteranopia (green-blind)
#00163C
Tritanopia (blue-blind)
#1C1521
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #22063d;
/* rgb */ color: rgb(34, 6, 61);
/* oklch */ color: oklch(21.3% 0.097 301.6);
Tailwind
colors: {
  custom: {
    50: '#614973',
    500: '#22063d',
    950: '#000000',
  },
}
SCSS
$custom: #22063d;
$custom-light: #614973;
$custom-dark: #000000;
JSON
{
  "hex": "#22063d",
  "rgb": {
    "r": 34,
    "g": 6,
    "b": 61
  },
  "hsl": {
    "h": 270.545,
    "s": 82.09,
    "l": 13.137
  },
  "oklch": {
    "l": 0.21292,
    "c": 0.09714,
    "h": 301.6
  },
  "luminance": 0.00807
}

Semantic roles & 50–950 ramp

primary
#22063D
secondary
#4F7D22
accent
#F82F92
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #22063D

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

Preview Lab → · Contrast checker → · Palette generator →

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