#220F3D#220F3D

#220F3D is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.6% C 0.084 H 298.4°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#220F3D
RGBrgb(34, 15, 61)
HSLhsl(265, 61%, 15%)
HSVhsv(265, 75%, 24%)
CMYKcmyk(44.3%, 75.4%, 0%, 76.1%)
CIE-LABlab(9.15, 21.67, -25.91)
CIE-LCHlch(9.15, 33.78, 309.91°)
OKLaboklab(22.62% 0.0399 -0.0738)
OKLCHoklch(22.62% 0.084 298.4)
XYZxyz(1.6726, 1.0186, 4.5225)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220F3D #2A3D0F
analogous
#0F133D #220F3D #390F3D
triadic
#220F3D #3D220F #0F3D22
tetradic
#220F3D #3D0F13 #2A3D0F #0F3D39
square
#220F3D #3D0F13 #2A3D0F #0F3D39
split-complementary
#220F3D #3D390F #133D0F
monochromatic
#0E0619 #0E0619 #220F3D #3D1B6E #59279F

Accessibility & contrast

On white

17.44
#220F3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#220F3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220F3D
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220F3D#FFFFFF#000000##FFFFFF
##220F3D1.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3E
Deuteranopia (green-blind)
#00193C
Tritanopia (blue-blind)
#1C1A24
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #220f3d;
/* rgb */ color: rgb(34, 15, 61);
/* oklch */ color: oklch(22.6% 0.084 298.4);
Tailwind
colors: {
  custom: {
    50: '#604e73',
    500: '#220f3d',
    950: '#000000',
  },
}
SCSS
$custom: #220f3d;
$custom-light: #604e73;
$custom-dark: #000000;
JSON
{
  "hex": "#220f3d",
  "rgb": {
    "r": 34,
    "g": 15,
    "b": 61
  },
  "hsl": {
    "h": 264.783,
    "s": 60.526,
    "l": 14.902
  },
  "oklch": {
    "l": 0.22621,
    "c": 0.08392,
    "h": 298.4
  },
  "luminance": 0.01019
}

Semantic roles & 50–950 ramp

primary
#220F3D
secondary
#5A7730
accent
#E444A2
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #220F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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