#220D58#220D58

#220D58 is a dark, vivid violet. Relative luminance 0.013; OKLCH L 25.1% C 0.123 H 286.5°. Best body text is #FFFFFF at 16.58:1 contrast (WCAG AA passes).

Color values

HEX#220D58
RGBrgb(34, 13, 88)
HSLhsl(257, 74%, 20%)
HSVhsv(257, 85%, 35%)
CMYKcmyk(61.4%, 85.2%, 0%, 65.5%)
CIE-LABlab(11.50, 31.43, -40.83)
CIE-LCHlch(11.50, 51.53, 307.59°)
OKLaboklab(25.13% 0.0348 -0.1176)
OKLCHoklch(25.13% 0.123 286.5)
XYZxyz(2.5645, 1.3324, 9.3527)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220D58 #43580D
analogous
#0D1E58 #220D58 #480D58
triadic
#220D58 #58220D #0D5822
tetradic
#220D58 #580D1E #43580D #0D5848
square
#220D58 #580D1E #43580D #0D5848
split-complementary
#220D58 #58480D #1E580D
monochromatic
#0A041B #0D0523 #220D58 #37158D #4B1DC3

Accessibility & contrast

On white

16.58
#220D58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#220D58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220D58
16.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220D58#FFFFFF#000000##FFFFFF
##220D581.0016.581.2716.58
#FFFFFF16.581.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00205A
Deuteranopia (green-blind)
#001C57
Tritanopia (blue-blind)
#082333
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #220d58;
/* rgb */ color: rgb(34, 13, 88);
/* oklch */ color: oklch(25.1% 0.123 286.5);
Tailwind
colors: {
  custom: {
    50: '#654f88',
    500: '#220d58',
    950: '#000000',
  },
}
SCSS
$custom: #220d58;
$custom-light: #654f88;
$custom-dark: #000000;
JSON
{
  "hex": "#220d58",
  "rgb": {
    "r": 34,
    "g": 13,
    "b": 88
  },
  "hsl": {
    "h": 256.8,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25131,
    "c": 0.12261,
    "h": 286.5
  },
  "luminance": 0.01333
}

Semantic roles & 50–950 ramp

primary
#220D58
secondary
#76932E
accent
#F137BD
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #220D58

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

Preview Lab → · Contrast checker → · Palette generator →

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