#221454#221454

#221454 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.7% C 0.109 H 285.9°. Best body text is #FFFFFF at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#221454
RGBrgb(34, 20, 84)
HSLhsl(253, 62%, 20%)
HSVhsv(253, 76%, 33%)
CMYKcmyk(59.5%, 76.2%, 0%, 67.1%)
CIE-LABlab(12.48, 26.12, -36.50)
CIE-LCHlch(12.48, 44.88, 305.59°)
OKLaboklab(25.69% 0.0299 -0.105)
OKLCHoklch(25.69% 0.109 285.9)
XYZxyz(2.5096, 1.4803, 8.5393)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221454 #465414
analogous
#142654 #221454 #421454
triadic
#221454 #542214 #145422
tetradic
#221454 #541426 #465414 #145442
square
#221454 #541426 #465414 #145442
split-complementary
#221454 #544214 #265414
monochromatic
#0A0619 #0E0823 #221454 #362085 #4A2CB7

Accessibility & contrast

On white

16.20
#221454 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#221454 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221454
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221454#FFFFFF#000000##FFFFFF
##2214541.0016.201.3016.20
#FFFFFF16.201.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002256
Deuteranopia (green-blind)
#001F53
Tritanopia (blue-blind)
#0C2532
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #221454;
/* rgb */ color: rgb(34, 20, 84);
/* oklch */ color: oklch(25.7% 0.109 285.9);
Tailwind
colors: {
  custom: {
    50: '#645385',
    500: '#221454',
    950: '#000000',
  },
}
SCSS
$custom: #221454;
$custom-light: #645385;
$custom-dark: #000000;
JSON
{
  "hex": "#221454",
  "rgb": {
    "r": 34,
    "g": 20,
    "b": 84
  },
  "hsl": {
    "h": 253.125,
    "s": 61.538,
    "l": 20.392
  },
  "oklch": {
    "l": 0.25693,
    "c": 0.10912,
    "h": 285.9
  },
  "luminance": 0.0148
}

Semantic roles & 50–950 ramp

primary
#221454
secondary
#7A8C38
accent
#E543C1
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #221454

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

Preview Lab → · Contrast checker → · Palette generator →

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