#22063B#22063B

#22063B is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.1% C 0.095 H 303.0°. Best body text is #FFFFFF at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#22063B
RGBrgb(34, 6, 59)
HSLhsl(272, 82%, 13%)
HSVhsv(272, 90%, 23%)
CMYKcmyk(42.4%, 89.8%, 0%, 76.9%)
CIE-LABlab(7.10, 26.23, -27.79)
CIE-LCHlch(7.10, 38.22, 313.34°)
OKLaboklab(21.09% 0.0516 -0.0795)
OKLCHoklch(21.09% 0.095 303)
XYZxyz(1.5140, 0.7861, 4.2088)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22063B #1F3B06
analogous
#07063B #22063B #3B0639
triadic
#22063B #3B2206 #063B22
tetradic
#22063B #3B0706 #1F3B06 #06393B
square
#22063B #3B0706 #1F3B06 #06393B
split-complementary
#22063B #393B06 #063B07
monochromatic
#10031C #10031C #22063B #420C73 #6211AA

Accessibility & contrast

On white

18.15
#22063B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22063B
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22063B#FFFFFF#000000##FFFFFF
##22063B1.0018.151.1618.15
#FFFFFF18.151.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153C
Deuteranopia (green-blind)
#00163A
Tritanopia (blue-blind)
#1D1420
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #22063b;
/* rgb */ color: rgb(34, 6, 59);
/* oklch */ color: oklch(21.1% 0.095 303.0);
Tailwind
colors: {
  custom: {
    50: '#604971',
    500: '#22063b',
    950: '#000000',
  },
}
SCSS
$custom: #22063b;
$custom-light: #604971;
$custom-dark: #000000;
JSON
{
  "hex": "#22063b",
  "rgb": {
    "r": 34,
    "g": 6,
    "b": 59
  },
  "hsl": {
    "h": 271.698,
    "s": 81.538,
    "l": 12.745
  },
  "oklch": {
    "l": 0.21086,
    "c": 0.09476,
    "h": 303
  },
  "luminance": 0.00786
}

Semantic roles & 50–950 ramp

primary
#22063B
secondary
#4C7B22
accent
#F8308E
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050108
muted
#79777B

Preview Lab

Preview with #22063B

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

Preview Lab → · Contrast checker → · Palette generator →

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