#22063A#22063A

#22063A is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.0% C 0.094 H 303.7°. Best body text is #FFFFFF at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#22063A
RGBrgb(34, 6, 58)
HSLhsl(272, 81%, 13%)
HSVhsv(272, 90%, 23%)
CMYKcmyk(41.4%, 89.7%, 0%, 77.3%)
CIE-LABlab(7.01, 25.92, -27.22)
CIE-LCHlch(7.01, 37.59, 313.60°)
OKLaboklab(20.98% 0.0519 -0.0778)
OKLCHoklch(20.98% 0.094 303.7)
XYZxyz(1.4884, 0.7758, 4.0735)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22063A #1E3A06
analogous
#08063A #22063A #3A0638
triadic
#22063A #3A2206 #063A22
tetradic
#22063A #3A0806 #1E3A06 #06383A
square
#22063A #3A0806 #1E3A06 #06383A
split-complementary
#22063A #383A06 #063A08
monochromatic
#10031C #10031C #22063A #430C71 #6311A9

Accessibility & contrast

On white

18.18
#22063A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22063A
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22063A#FFFFFF#000000##FFFFFF
##22063A1.0018.181.1618.18
#FFFFFF18.181.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153B
Deuteranopia (green-blind)
#001539
Tritanopia (blue-blind)
#1D1320
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #22063a;
/* rgb */ color: rgb(34, 6, 58);
/* oklch */ color: oklch(21.0% 0.094 303.7);
Tailwind
colors: {
  custom: {
    50: '#604971',
    500: '#22063a',
    950: '#000000',
  },
}
SCSS
$custom: #22063a;
$custom-light: #604971;
$custom-dark: #000000;
JSON
{
  "hex": "#22063a",
  "rgb": {
    "r": 34,
    "g": 6,
    "b": 58
  },
  "hsl": {
    "h": 272.308,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.20984,
    "c": 0.09356,
    "h": 303.7
  },
  "luminance": 0.00776
}

Semantic roles & 50–950 ramp

primary
#22063A
secondary
#4A7A22
accent
#F8308C
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #22063A

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

Preview Lab → · Contrast checker → · Palette generator →

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