#221357#221357

#221357 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.8% C 0.115 H 285.2°. Best body text is #FFFFFF at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#221357
RGBrgb(34, 19, 87)
HSLhsl(253, 64%, 21%)
HSVhsv(253, 78%, 34%)
CMYKcmyk(60.9%, 78.2%, 0%, 65.9%)
CIE-LABlab(12.57, 27.75, -38.40)
CIE-LCHlch(12.57, 47.38, 305.86°)
OKLaboklab(25.85% 0.0301 -0.1105)
OKLCHoklch(25.85% 0.115 285.2)
XYZxyz(2.6123, 1.4938, 9.1657)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221357 #485713
analogous
#132657 #221357 #441357
triadic
#221357 #572213 #135722
tetradic
#221357 #571326 #485713 #135744
square
#221357 #571326 #485713 #135744
split-complementary
#221357 #574413 #265713
monochromatic
#0A0519 #0E0825 #221357 #361E89 #4929BB

Accessibility & contrast

On white

16.17
#221357 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #221357
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221357#FFFFFF#000000##FFFFFF
##2213571.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002359
Deuteranopia (green-blind)
#001F56
Tritanopia (blue-blind)
#082533
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #221357;
/* rgb */ color: rgb(34, 19, 87);
/* oklch */ color: oklch(25.8% 0.115 285.2);
Tailwind
colors: {
  custom: {
    50: '#645287',
    500: '#221357',
    950: '#000000',
  },
}
SCSS
$custom: #221357;
$custom-light: #645287;
$custom-dark: #000000;
JSON
{
  "hex": "#221357",
  "rgb": {
    "r": 34,
    "g": 19,
    "b": 87
  },
  "hsl": {
    "h": 253.235,
    "s": 64.151,
    "l": 20.784
  },
  "oklch": {
    "l": 0.25848,
    "c": 0.11455,
    "h": 285.2
  },
  "luminance": 0.01494
}

Semantic roles & 50–950 ramp

primary
#221357
secondary
#7C8F36
accent
#E741C2
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #221357

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

Preview Lab → · Contrast checker → · Palette generator →

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