#220945#220945

#220945 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.5% C 0.103 H 295.8°. Best body text is #FFFFFF at 17.60:1 contrast (WCAG AA passes).

Color values

HEX#220945
RGBrgb(34, 9, 69)
HSLhsl(265, 77%, 15%)
HSVhsv(265, 87%, 27%)
CMYKcmyk(50.7%, 87%, 0%, 72.9%)
CIE-LABlab(8.70, 27.59, -32.32)
CIE-LCHlch(8.70, 42.49, 310.49°)
OKLaboklab(22.55% 0.0448 -0.0926)
OKLCHoklch(22.55% 0.103 295.8)
XYZxyz(1.8313, 0.9651, 5.7189)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220945 #2C4509
analogous
#090E45 #220945 #400945
triadic
#220945 #452209 #094522
tetradic
#220945 #45090E #2C4509 #094540
square
#220945 #45090E #2C4509 #094540
split-complementary
#220945 #454009 #0E4509
monochromatic
#0D041B #0D041B #220945 #3D107B #5717B1

Accessibility & contrast

On white

17.60
#220945 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#220945 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220945
17.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220945#FFFFFF#000000##FFFFFF
##2209451.0017.601.1917.60
#FFFFFF17.601.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001947
Deuteranopia (green-blind)
#001844
Tritanopia (blue-blind)
#181A27
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #220945;
/* rgb */ color: rgb(34, 9, 69);
/* oklch */ color: oklch(22.5% 0.103 295.8);
Tailwind
colors: {
  custom: {
    50: '#624b79',
    500: '#220945',
    950: '#000000',
  },
}
SCSS
$custom: #220945;
$custom-light: #624b79;
$custom-dark: #000000;
JSON
{
  "hex": "#220945",
  "rgb": {
    "r": 34,
    "g": 9,
    "b": 69
  },
  "hsl": {
    "h": 265,
    "s": 76.923,
    "l": 15.294
  },
  "oklch": {
    "l": 0.22545,
    "c": 0.10288,
    "h": 295.8
  },
  "luminance": 0.00965
}

Semantic roles & 50–950 ramp

primary
#220945
secondary
#5D8327
accent
#F334A4
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050109
muted
#7A777B

Preview Lab

Preview with #220945

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

Preview Lab → · Contrast checker → · Palette generator →

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