#220948#220948

#220948 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.9% C 0.107 H 294.2°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#220948
RGBrgb(34, 9, 72)
HSLhsl(264, 78%, 16%)
HSVhsv(264, 88%, 28%)
CMYKcmyk(52.8%, 87.5%, 0%, 71.8%)
CIE-LABlab(9.02, 28.49, -33.90)
CIE-LCHlch(9.02, 44.28, 310.05°)
OKLaboklab(22.87% 0.0437 -0.0972)
OKLCHoklch(22.87% 0.107 294.2)
XYZxyz(1.9268, 1.0033, 6.2218)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220948 #2F4809
analogous
#090F48 #220948 #410948
triadic
#220948 #482209 #094822
tetradic
#220948 #48090F #2F4809 #094841
square
#220948 #48090F #2F4809 #094841
split-complementary
#220948 #484109 #0F4809
monochromatic
#0D031B #0D031B #220948 #3C107E #5517B5

Accessibility & contrast

On white

17.49
#220948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#220948 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220948
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220948#FFFFFF#000000##FFFFFF
##2209481.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A4A
Deuteranopia (green-blind)
#001847
Tritanopia (blue-blind)
#161B28
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #220948;
/* rgb */ color: rgb(34, 9, 72);
/* oklch */ color: oklch(22.9% 0.107 294.2);
Tailwind
colors: {
  custom: {
    50: '#624c7c',
    500: '#220948',
    950: '#000000',
  },
}
SCSS
$custom: #220948;
$custom-light: #624c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#220948",
  "rgb": {
    "r": 34,
    "g": 9,
    "b": 72
  },
  "hsl": {
    "h": 263.81,
    "s": 77.778,
    "l": 15.882
  },
  "oklch": {
    "l": 0.22867,
    "c": 0.10663,
    "h": 294.2
  },
  "luminance": 0.01003
}

Semantic roles & 50–950 ramp

primary
#220948
secondary
#608527
accent
#F434A8
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#050109
muted
#7A777B

Preview Lab

Preview with #220948

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

Preview Lab → · Contrast checker → · Palette generator →

#220948 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva