#221459#221459

#221459 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.2% C 0.116 H 284.3°. Best body text is #FFFFFF at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#221459
RGBrgb(34, 20, 89)
HSLhsl(252, 63%, 21%)
HSVhsv(252, 78%, 35%)
CMYKcmyk(61.8%, 77.5%, 0%, 65.1%)
CIE-LABlab(12.99, 27.82, -39.05)
CIE-LCHlch(12.99, 47.95, 305.47°)
OKLaboklab(26.21% 0.0287 -0.1124)
OKLCHoklch(26.21% 0.116 284.3)
XYZxyz(2.7125, 1.5615, 9.6077)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221459 #4B5914
analogous
#142959 #221459 #451459
triadic
#221459 #592214 #145922
tetradic
#221459 #591429 #4B5914 #145945
square
#221459 #591429 #4B5914 #145945
split-complementary
#221459 #594514 #295914
monochromatic
#0A0619 #0F0927 #221459 #351F8B #482ABD

Accessibility & contrast

On white

16.00
#221459 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #221459
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221459#FFFFFF#000000##FFFFFF
##2214591.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245B
Deuteranopia (green-blind)
#001F58
Tritanopia (blue-blind)
#062735
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #221459;
/* rgb */ color: rgb(34, 20, 89);
/* oklch */ color: oklch(26.2% 0.116 284.3);
Tailwind
colors: {
  custom: {
    50: '#655389',
    500: '#221459',
    950: '#000000',
  },
}
SCSS
$custom: #221459;
$custom-light: #655389;
$custom-dark: #000000;
JSON
{
  "hex": "#221459",
  "rgb": {
    "r": 34,
    "g": 20,
    "b": 89
  },
  "hsl": {
    "h": 252.174,
    "s": 63.303,
    "l": 21.373
  },
  "oklch": {
    "l": 0.26213,
    "c": 0.11605,
    "h": 284.3
  },
  "luminance": 0.01562
}

Semantic roles & 50–950 ramp

primary
#221459
secondary
#7F9138
accent
#E641C5
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #221459

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

Preview Lab → · Contrast checker → · Palette generator →

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