#221458#221458

#221458 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.1% C 0.115 H 284.6°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#221458
RGBrgb(34, 20, 88)
HSLhsl(252, 63%, 21%)
HSVhsv(252, 77%, 35%)
CMYKcmyk(61.4%, 77.3%, 0%, 65.5%)
CIE-LABlab(12.89, 27.48, -38.55)
CIE-LCHlch(12.89, 47.34, 305.49°)
OKLaboklab(26.11% 0.029 -0.111)
OKLCHoklch(26.11% 0.115 284.6)
XYZxyz(2.6708, 1.5448, 9.3881)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221458 #4A5814
analogous
#142858 #221458 #441458
triadic
#221458 #582214 #145822
tetradic
#221458 #581428 #4A5814 #145844
square
#221458 #581428 #4A5814 #145844
split-complementary
#221458 #584414 #285814
monochromatic
#0A0619 #0F0926 #221458 #351F8A #492BBC

Accessibility & contrast

On white

16.04
#221458 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#221458 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221458
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221458#FFFFFF#000000##FFFFFF
##2214581.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235A
Deuteranopia (green-blind)
#001F57
Tritanopia (blue-blind)
#072634
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #221458;
/* rgb */ color: rgb(34, 20, 88);
/* oklch */ color: oklch(26.1% 0.115 284.6);
Tailwind
colors: {
  custom: {
    50: '#645388',
    500: '#221458',
    950: '#000000',
  },
}
SCSS
$custom: #221458;
$custom-light: #645388;
$custom-dark: #000000;
JSON
{
  "hex": "#221458",
  "rgb": {
    "r": 34,
    "g": 20,
    "b": 88
  },
  "hsl": {
    "h": 252.353,
    "s": 62.963,
    "l": 21.176
  },
  "oklch": {
    "l": 0.26108,
    "c": 0.11468,
    "h": 284.6
  },
  "luminance": 0.01545
}

Semantic roles & 50–950 ramp

primary
#221458
secondary
#7E9038
accent
#E642C4
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #221458

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

Preview Lab → · Contrast checker → · Palette generator →

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