#221253#221253

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

Color values

HEX#221253
RGBrgb(34, 18, 83)
HSLhsl(255, 64%, 20%)
HSVhsv(255, 78%, 33%)
CMYKcmyk(59%, 78.3%, 0%, 67.5%)
CIE-LABlab(11.94, 27.01, -36.71)
CIE-LCHlch(11.94, 45.58, 306.35°)
OKLaboklab(25.27% 0.032 -0.1056)
OKLCHoklch(25.27% 0.11 286.9)
XYZxyz(2.4369, 1.3971, 8.3232)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221253 #435312
analogous
#122353 #221253 #421253
triadic
#221253 #532212 #125322
tetradic
#221253 #531223 #435312 #125342
square
#221253 #531223 #435312 #125342
split-complementary
#221253 #534212 #235312
monochromatic
#0A0519 #0D0721 #221253 #371D85 #4B28B8

Accessibility & contrast

On white

16.41
#221253 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#221253 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221253
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221253#FFFFFF#000000##FFFFFF
##2212531.0016.411.2816.41
#FFFFFF16.411.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002155
Deuteranopia (green-blind)
#001E52
Tritanopia (blue-blind)
#0D2331
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #221253;
/* rgb */ color: rgb(34, 18, 83);
/* oklch */ color: oklch(25.3% 0.110 286.9);
Tailwind
colors: {
  custom: {
    50: '#645184',
    500: '#221253',
    950: '#000000',
  },
}
SCSS
$custom: #221253;
$custom-light: #645184;
$custom-dark: #000000;
JSON
{
  "hex": "#221253",
  "rgb": {
    "r": 34,
    "g": 18,
    "b": 83
  },
  "hsl": {
    "h": 254.769,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25274,
    "c": 0.11032,
    "h": 286.9
  },
  "luminance": 0.01397
}

Semantic roles & 50–950 ramp

primary
#221253
secondary
#768C35
accent
#E740BE
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #221253

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

Preview Lab → · Contrast checker → · Palette generator →

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