#22063F#22063F

#22063F is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.5% C 0.100 H 300.3°. Best body text is #FFFFFF at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#22063F
RGBrgb(34, 6, 63)
HSLhsl(269, 83%, 14%)
HSVhsv(269, 90%, 25%)
CMYKcmyk(46%, 90.5%, 0%, 75.3%)
CIE-LABlab(7.49, 27.47, -30.04)
CIE-LCHlch(7.49, 40.70, 312.45°)
OKLaboklab(21.5% 0.0502 -0.0859)
OKLCHoklch(21.5% 0.1 300.3)
XYZxyz(1.6218, 0.8292, 4.7763)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22063F #233F06
analogous
#06063F #22063F #3E063F
triadic
#22063F #3F2206 #063F22
tetradic
#22063F #3F0606 #233F06 #063F3E
square
#22063F #3F0606 #233F06 #063F3E
split-complementary
#22063F #3F3E06 #063F06
monochromatic
#0F031C #0F031C #22063F #400B77 #5E11AF

Accessibility & contrast

On white

18.01
#22063F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#22063F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22063F
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22063F#FFFFFF#000000##FFFFFF
##22063F1.0018.011.1718.01
#FFFFFF18.011.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22063f;
/* rgb */ color: rgb(34, 6, 63);
/* oklch */ color: oklch(21.5% 0.100 300.3);
Tailwind
colors: {
  custom: {
    50: '#614975',
    500: '#22063f',
    950: '#000000',
  },
}
SCSS
$custom: #22063f;
$custom-light: #614975;
$custom-dark: #000000;
JSON
{
  "hex": "#22063f",
  "rgb": {
    "r": 34,
    "g": 6,
    "b": 63
  },
  "hsl": {
    "h": 269.474,
    "s": 82.609,
    "l": 13.529
  },
  "oklch": {
    "l": 0.21502,
    "c": 0.09953,
    "h": 300.3
  },
  "luminance": 0.00829
}

Semantic roles & 50–950 ramp

primary
#22063F
secondary
#517F22
accent
#F92F96
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #22063F

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

Preview Lab → · Contrast checker → · Palette generator →

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