#220234#220234

#220234 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.7% C 0.094 H 309.7°. Best body text is #FFFFFF at 18.65:1 contrast (WCAG AA passes).

Color values

HEX#220234
RGBrgb(34, 2, 52)
HSLhsl(278, 93%, 11%)
HSVhsv(278, 96%, 20%)
CMYKcmyk(34.6%, 96.2%, 0%, 79.6%)
CIE-LABlab(5.70, 26.06, -24.94)
CIE-LCHlch(5.70, 36.07, 316.25°)
OKLaboklab(19.74% 0.06 -0.0722)
OKLCHoklch(19.74% 0.094 309.7)
XYZxyz(1.3011, 0.6315, 3.3015)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220234 #143402
analogous
#090234 #220234 #34022D
triadic
#220234 #342202 #023422
tetradic
#220234 #340902 #143402 #022D34
square
#220234 #340902 #143402 #022D34
split-complementary
#220234 #2D3402 #023409
monochromatic
#13011D #13011D #220234 #49046F #6F07AA

Accessibility & contrast

On white

18.65
#220234 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#220234 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220234
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220234#FFFFFF#000000##FFFFFF
##2202341.0018.651.1318.65
#FFFFFF18.651.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001135
Deuteranopia (green-blind)
#001333
Tritanopia (blue-blind)
#1F0E1B
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #220234;
/* rgb */ color: rgb(34, 2, 52);
/* oklch */ color: oklch(19.7% 0.094 309.7);
Tailwind
colors: {
  custom: {
    50: '#60476c',
    500: '#220234',
    950: '#000000',
  },
}
SCSS
$custom: #220234;
$custom-light: #60476c;
$custom-dark: #000000;
JSON
{
  "hex": "#220234",
  "rgb": {
    "r": 34,
    "g": 2,
    "b": 52
  },
  "hsl": {
    "h": 278.4,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.19738,
    "c": 0.09386,
    "h": 309.7
  },
  "luminance": 0.00631
}

Semantic roles & 50–950 ramp

primary
#220234
secondary
#3C781A
accent
#FF2976
background
#F5F4F6
surface
#EAE6EB
border
#C6C2C6
text
#050007
muted
#79777A

Preview Lab

Preview with #220234

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

Preview Lab → · Contrast checker → · Palette generator →

#220234 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva