#221462#221462

#221462 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.2% C 0.128 H 281.9°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#221462
RGBrgb(34, 20, 98)
HSLhsl(251, 66%, 23%)
HSVhsv(251, 80%, 38%)
CMYKcmyk(65.3%, 79.6%, 0%, 61.6%)
CIE-LABlab(13.96, 30.87, -43.49)
CIE-LCHlch(13.96, 53.34, 305.37°)
OKLaboklab(27.18% 0.0264 -0.1254)
OKLCHoklch(27.18% 0.128 281.9)
XYZxyz(3.1138, 1.7220, 11.7212)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221462 #546214
analogous
#142D62 #221462 #491462
triadic
#221462 #622214 #146222
tetradic
#221462 #62142D #546214 #146249
square
#221462 #62142D #546214 #146249
split-complementary
#221462 #624914 #2D6214
monochromatic
#090519 #100A2F #221462 #341E95 #4529C8

Accessibility & contrast

On white

15.62
#221462 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#221462 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221462
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221462#FFFFFF#000000##FFFFFF
##2214621.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002664
Deuteranopia (green-blind)
#002161
Tritanopia (blue-blind)
#002A3A
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #221462;
/* rgb */ color: rgb(34, 20, 98);
/* oklch */ color: oklch(27.2% 0.128 281.9);
Tailwind
colors: {
  custom: {
    50: '#675390',
    500: '#221462',
    950: '#000000',
  },
}
SCSS
$custom: #221462;
$custom-light: #675390;
$custom-dark: #000000;
JSON
{
  "hex": "#221462",
  "rgb": {
    "r": 34,
    "g": 20,
    "b": 98
  },
  "hsl": {
    "h": 250.769,
    "s": 66.102,
    "l": 23.137
  },
  "oklch": {
    "l": 0.27184,
    "c": 0.12818,
    "h": 281.9
  },
  "luminance": 0.01722
}

Semantic roles & 50–950 ramp

primary
#221462
secondary
#889938
accent
#E93FCA
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #221462

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

Preview Lab → · Contrast checker → · Palette generator →

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