#220239#220239

#220239 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.3% C 0.099 H 305.7°. Best body text is #FFFFFF at 18.49:1 contrast (WCAG AA passes).

Color values

HEX#220239
RGBrgb(34, 2, 57)
HSLhsl(275, 93%, 12%)
HSVhsv(275, 96%, 22%)
CMYKcmyk(40.4%, 96.5%, 0%, 77.6%)
CIE-LABlab(6.13, 27.74, -27.92)
CIE-LCHlch(6.13, 39.35, 314.82°)
OKLaboklab(20.26% 0.0579 -0.0804)
OKLCHoklch(20.26% 0.099 305.7)
XYZxyz(1.4197, 0.6789, 3.9264)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220239 #193902
analogous
#070239 #220239 #390235
triadic
#220239 #392202 #023922
tetradic
#220239 #390702 #193902 #023539
square
#220239 #390702 #193902 #023539
split-complementary
#220239 #353902 #023907
monochromatic
#12011E #12011E #220239 #450474 #6906AF

Accessibility & contrast

On white

18.49
#220239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#220239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220239
18.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220239#FFFFFF#000000##FFFFFF
##2202391.0018.491.1418.49
#FFFFFF18.491.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133A
Deuteranopia (green-blind)
#001438
Tritanopia (blue-blind)
#1E101E
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #220239;
/* rgb */ color: rgb(34, 2, 57);
/* oklch */ color: oklch(20.3% 0.099 305.7);
Tailwind
colors: {
  custom: {
    50: '#604770',
    500: '#220239',
    950: '#000000',
  },
}
SCSS
$custom: #220239;
$custom-light: #604770;
$custom-dark: #000000;
JSON
{
  "hex": "#220239",
  "rgb": {
    "r": 34,
    "g": 2,
    "b": 57
  },
  "hsl": {
    "h": 274.909,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.20261,
    "c": 0.09913,
    "h": 305.7
  },
  "luminance": 0.00679
}

Semantic roles & 50–950 ramp

primary
#220239
secondary
#437D1A
accent
#FF2982
background
#F5F4F6
surface
#EAE6EC
border
#C6C2C7
text
#050007
muted
#79777A

Preview Lab

Preview with #220239

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

Preview Lab → · Contrast checker → · Palette generator →

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