#220A45#220A45

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

Color values

HEX#220A45
RGBrgb(34, 10, 69)
HSLhsl(264, 75%, 15%)
HSVhsv(264, 86%, 27%)
CMYKcmyk(50.7%, 85.5%, 0%, 72.9%)
CIE-LABlab(8.88, 27.06, -32.02)
CIE-LCHlch(8.88, 41.92, 310.20°)
OKLaboklab(22.67% 0.0438 -0.0917)
OKLCHoklch(22.67% 0.102 295.5)
XYZxyz(1.8421, 0.9868, 5.7225)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220A45 #2D450A
analogous
#0A0F45 #220A45 #3F0A45
triadic
#220A45 #45220A #0A4522
tetradic
#220A45 #450A0F #2D450A #0A453F
square
#220A45 #450A0F #2D450A #0A453F
split-complementary
#220A45 #453F0A #0F450A
monochromatic
#0D041B #0D041B #220A45 #3C127A #5719B0

Accessibility & contrast

On white

17.54
#220A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220A45
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220A45#FFFFFF#000000##FFFFFF
##220A451.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #220a45;
/* rgb */ color: rgb(34, 10, 69);
/* oklch */ color: oklch(22.7% 0.102 295.5);
Tailwind
colors: {
  custom: {
    50: '#624c79',
    500: '#220a45',
    950: '#000000',
  },
}
SCSS
$custom: #220a45;
$custom-light: #624c79;
$custom-dark: #000000;
JSON
{
  "hex": "#220a45",
  "rgb": {
    "r": 34,
    "g": 10,
    "b": 69
  },
  "hsl": {
    "h": 264.407,
    "s": 74.684,
    "l": 15.49
  },
  "oklch": {
    "l": 0.22673,
    "c": 0.10167,
    "h": 295.5
  },
  "luminance": 0.00987
}

Semantic roles & 50–950 ramp

primary
#220A45
secondary
#5E8229
accent
#F136A5
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050109
muted
#7A777B

Preview Lab

Preview with #220A45

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

Preview Lab → · Contrast checker → · Palette generator →

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