#220F64#220F64

#220F64 is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.8% C 0.136 H 282.4°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#220F64
RGBrgb(34, 15, 100)
HSLhsl(253, 74%, 23%)
HSVhsv(253, 85%, 39%)
CMYKcmyk(66%, 85%, 0%, 60.8%)
CIE-LABlab(13.24, 34.23, -46.00)
CIE-LCHlch(13.24, 57.34, 306.65°)
OKLaboklab(26.75% 0.0292 -0.1327)
OKLCHoklch(26.75% 0.136 282.4)
XYZxyz(3.1300, 1.6016, 12.1983)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220F64 #51640F
analogous
#0F2664 #220F64 #4D0F64
triadic
#220F64 #64220F #0F6422
tetradic
#220F64 #640F26 #51640F #0F644D
square
#220F64 #640F26 #51640F #0F644D
split-complementary
#220F64 #644D0F #26640F
monochromatic
#09041B #10072F #220F64 #341799 #461FCE

Accessibility & contrast

On white

15.90
#220F64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#220F64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220F64
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220F64#FFFFFF#000000##FFFFFF
##220F641.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002566
Deuteranopia (green-blind)
#001F63
Tritanopia (blue-blind)
#00293A
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #220f64;
/* rgb */ color: rgb(34, 15, 100);
/* oklch */ color: oklch(26.8% 0.136 282.4);
Tailwind
colors: {
  custom: {
    50: '#685191',
    500: '#220f64',
    950: '#000000',
  },
}
SCSS
$custom: #220f64;
$custom-light: #685191;
$custom-dark: #000000;
JSON
{
  "hex": "#220f64",
  "rgb": {
    "r": 34,
    "g": 15,
    "b": 100
  },
  "hsl": {
    "h": 253.412,
    "s": 73.913,
    "l": 22.549
  },
  "oklch": {
    "l": 0.26753,
    "c": 0.13586,
    "h": 282.4
  },
  "luminance": 0.01602
}

Semantic roles & 50–950 ramp

primary
#220F64
secondary
#859D32
accent
#F137C7
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #220F64

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

Preview Lab → · Contrast checker → · Palette generator →

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