#220F3C#220F3C

#220F3C is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.5% C 0.083 H 299.0°. Best body text is #FFFFFF at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#220F3C
RGBrgb(34, 15, 60)
HSLhsl(265, 60%, 15%)
HSVhsv(265, 75%, 24%)
CMYKcmyk(43.3%, 75%, 0%, 76.5%)
CIE-LABlab(9.06, 21.35, -25.33)
CIE-LCHlch(9.06, 33.13, 310.12°)
OKLaboklab(22.53% 0.04 -0.0722)
OKLCHoklch(22.53% 0.083 299)
XYZxyz(1.6459, 1.0080, 4.3819)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220F3C #293C0F
analogous
#0F133C #220F3C #390F3C
triadic
#220F3C #3C220F #0F3C22
tetradic
#220F3C #3C0F13 #293C0F #0F3C39
square
#220F3C #3C0F13 #293C0F #0F3C39
split-complementary
#220F3C #3C390F #133C0F
monochromatic
#0E0618 #0E0618 #220F3C #3E1B6D #59279E

Accessibility & contrast

On white

17.48
#220F3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220F3C
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220F3C#FFFFFF#000000##FFFFFF
##220F3C1.0017.481.2017.48
#FFFFFF17.481.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3D
Deuteranopia (green-blind)
#00193B
Tritanopia (blue-blind)
#1C1923
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #220f3c;
/* rgb */ color: rgb(34, 15, 60);
/* oklch */ color: oklch(22.5% 0.083 299.0);
Tailwind
colors: {
  custom: {
    50: '#604e72',
    500: '#220f3c',
    950: '#000000',
  },
}
SCSS
$custom: #220f3c;
$custom-light: #604e72;
$custom-dark: #000000;
JSON
{
  "hex": "#220f3c",
  "rgb": {
    "r": 34,
    "g": 15,
    "b": 60
  },
  "hsl": {
    "h": 265.333,
    "s": 60,
    "l": 14.706
  },
  "oklch": {
    "l": 0.2253,
    "c": 0.08251,
    "h": 299
  },
  "luminance": 0.01008
}

Semantic roles & 50–950 ramp

primary
#220F3C
secondary
#597630
accent
#E345A0
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050208
muted
#79787B

Preview Lab

Preview with #220F3C

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

Preview Lab → · Contrast checker → · Palette generator →

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