#220F3E#220F3E

#220F3E is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.7% C 0.085 H 297.8°. Best body text is #FFFFFF at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#220F3E
RGBrgb(34, 15, 62)
HSLhsl(264, 61%, 15%)
HSVhsv(264, 76%, 24%)
CMYKcmyk(45.2%, 75.8%, 0%, 75.7%)
CIE-LABlab(9.23, 21.98, -26.48)
CIE-LCHlch(9.23, 34.41, 309.70°)
OKLaboklab(22.71% 0.0398 -0.0755)
OKLCHoklch(22.71% 0.085 297.8)
XYZxyz(1.6998, 1.0295, 4.6657)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220F3E #2B3E0F
analogous
#0F143E #220F3E #390F3E
triadic
#220F3E #3E220F #0F3E22
tetradic
#220F3E #3E0F14 #2B3E0F #0F3E39
square
#220F3E #3E0F14 #2B3E0F #0F3E39
split-complementary
#220F3E #3E390F #143E0F
monochromatic
#0E0619 #0E0619 #220F3E #3D1B6F #5827A1

Accessibility & contrast

On white

17.41
#220F3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#220F3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220F3E
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220F3E#FFFFFF#000000##FFFFFF
##220F3E1.0017.411.2117.41
#FFFFFF17.411.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3F
Deuteranopia (green-blind)
#00193D
Tritanopia (blue-blind)
#1B1A24
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #220f3e;
/* rgb */ color: rgb(34, 15, 62);
/* oklch */ color: oklch(22.7% 0.085 297.8);
Tailwind
colors: {
  custom: {
    50: '#604e74',
    500: '#220f3e',
    950: '#000000',
  },
}
SCSS
$custom: #220f3e;
$custom-light: #604e74;
$custom-dark: #000000;
JSON
{
  "hex": "#220f3e",
  "rgb": {
    "r": 34,
    "g": 15,
    "b": 62
  },
  "hsl": {
    "h": 264.255,
    "s": 61.039,
    "l": 15.098
  },
  "oklch": {
    "l": 0.22713,
    "c": 0.08533,
    "h": 297.8
  },
  "luminance": 0.0103
}

Semantic roles & 50–950 ramp

primary
#220F3E
secondary
#5B7830
accent
#E444A3
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #220F3E

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

Preview Lab → · Contrast checker → · Palette generator →

#220F3E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva