#220F3F#220F3F

#220F3F is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.8% C 0.087 H 297.2°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#220F3F
RGBrgb(34, 15, 63)
HSLhsl(264, 62%, 15%)
HSVhsv(264, 76%, 25%)
CMYKcmyk(46%, 76.2%, 0%, 75.3%)
CIE-LABlab(9.33, 22.30, -27.04)
CIE-LCHlch(9.33, 35.05, 309.51°)
OKLaboklab(22.81% 0.0396 -0.0772)
OKLCHoklch(22.81% 0.087 297.2)
XYZxyz(1.7275, 1.0406, 4.8115)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220F3F #2C3F0F
analogous
#0F143F #220F3F #3A0F3F
triadic
#220F3F #3F220F #0F3F22
tetradic
#220F3F #3F0F14 #2C3F0F #0F3F3A
square
#220F3F #3F0F14 #2C3F0F #0F3F3A
split-complementary
#220F3F #3F3A0F #143F0F
monochromatic
#0D0619 #0D0619 #220F3F #3D1B70 #5727A2

Accessibility & contrast

On white

17.38
#220F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220F3F
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220F3F#FFFFFF#000000##FFFFFF
##220F3F1.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A40
Deuteranopia (green-blind)
#001A3E
Tritanopia (blue-blind)
#1B1A25
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #220f3f;
/* rgb */ color: rgb(34, 15, 63);
/* oklch */ color: oklch(22.8% 0.087 297.2);
Tailwind
colors: {
  custom: {
    50: '#604e74',
    500: '#220f3f',
    950: '#000000',
  },
}
SCSS
$custom: #220f3f;
$custom-light: #604e74;
$custom-dark: #000000;
JSON
{
  "hex": "#220f3f",
  "rgb": {
    "r": 34,
    "g": 15,
    "b": 63
  },
  "hsl": {
    "h": 263.75,
    "s": 61.538,
    "l": 15.294
  },
  "oklch": {
    "l": 0.22807,
    "c": 0.08674,
    "h": 297.2
  },
  "luminance": 0.01041
}

Semantic roles & 50–950 ramp

primary
#220F3F
secondary
#5D7930
accent
#E543A5
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #220F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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