#221354#221354

#221354 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.5% C 0.110 H 286.2°. Best body text is #FFFFFF at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#221354
RGBrgb(34, 19, 84)
HSLhsl(254, 63%, 20%)
HSVhsv(254, 77%, 33%)
CMYKcmyk(59.5%, 77.4%, 0%, 67.1%)
CIE-LABlab(12.26, 26.74, -36.87)
CIE-LCHlch(12.26, 45.54, 305.95°)
OKLaboklab(25.53% 0.0308 -0.106)
OKLCHoklch(25.53% 0.11 286.2)
XYZxyz(2.4923, 1.4458, 8.5335)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221354 #455413
analogous
#132454 #221354 #421354
triadic
#221354 #542213 #135422
tetradic
#221354 #541324 #455413 #135442
square
#221354 #541324 #455413 #135442
split-complementary
#221354 #544213 #245413
monochromatic
#0A0619 #0E0822 #221354 #361E86 #4A2AB8

Accessibility & contrast

On white

16.29
#221354 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#221354 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221354
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221354#FFFFFF#000000##FFFFFF
##2213541.0016.291.2916.29
#FFFFFF16.291.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #221354;
/* rgb */ color: rgb(34, 19, 84);
/* oklch */ color: oklch(25.5% 0.110 286.2);
Tailwind
colors: {
  custom: {
    50: '#645285',
    500: '#221354',
    950: '#000000',
  },
}
SCSS
$custom: #221354;
$custom-light: #645285;
$custom-dark: #000000;
JSON
{
  "hex": "#221354",
  "rgb": {
    "r": 34,
    "g": 19,
    "b": 84
  },
  "hsl": {
    "h": 253.846,
    "s": 63.107,
    "l": 20.196
  },
  "oklch": {
    "l": 0.25533,
    "c": 0.11042,
    "h": 286.2
  },
  "luminance": 0.01446
}

Semantic roles & 50–950 ramp

primary
#221354
secondary
#798C36
accent
#E642C0
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #221354

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

Preview Lab → · Contrast checker → · Palette generator →

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