#220E40#220E40

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

Color values

HEX#220E40
RGBrgb(34, 14, 64)
HSLhsl(264, 64%, 15%)
HSVhsv(264, 78%, 25%)
CMYKcmyk(46.9%, 78.1%, 0%, 74.9%)
CIE-LABlab(9.19, 23.24, -27.97)
CIE-LCHlch(9.19, 36.36, 309.72°)
OKLaboklab(22.74% 0.0407 -0.0799)
OKLCHoklch(22.74% 0.09 297)
XYZxyz(1.7419, 1.0243, 4.9554)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220E40 #2C400E
analogous
#0E1340 #220E40 #3B0E40
triadic
#220E40 #40220E #0E4022
tetradic
#220E40 #400E13 #2C400E #0E403B
square
#220E40 #400E13 #2C400E #0E403B
split-complementary
#220E40 #403B0E #13400E
monochromatic
#0D0519 #0D0519 #220E40 #3D1972 #5724A4

Accessibility & contrast

On white

17.43
#220E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220E40
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220E40#FFFFFF#000000##FFFFFF
##220E401.0017.431.2017.43
#FFFFFF17.431.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A41
Deuteranopia (green-blind)
#00193F
Tritanopia (blue-blind)
#1A1A25
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #220e40;
/* rgb */ color: rgb(34, 14, 64);
/* oklch */ color: oklch(22.7% 0.090 297.0);
Tailwind
colors: {
  custom: {
    50: '#604e75',
    500: '#220e40',
    950: '#000000',
  },
}
SCSS
$custom: #220e40;
$custom-light: #604e75;
$custom-dark: #000000;
JSON
{
  "hex": "#220e40",
  "rgb": {
    "r": 34,
    "g": 14,
    "b": 64
  },
  "hsl": {
    "h": 264,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.2274,
    "c": 0.08966,
    "h": 297
  },
  "luminance": 0.01024
}

Semantic roles & 50–950 ramp

primary
#220E40
secondary
#5D7B2F
accent
#E741A5
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #220E40

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

Preview Lab → · Contrast checker → · Palette generator →

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