#221361#221361

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

Color values

HEX#221361
RGBrgb(34, 19, 97)
HSLhsl(252, 67%, 23%)
HSVhsv(252, 80%, 38%)
CMYKcmyk(64.9%, 80.4%, 0%, 62%)
CIE-LABlab(13.64, 31.11, -43.34)
CIE-LCHlch(13.64, 53.35, 305.67°)
OKLaboklab(26.93% 0.0275 -0.125)
OKLCHoklch(26.93% 0.128 282.4)
XYZxyz(3.0496, 1.6687, 11.4683)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221361 #526113
analogous
#132B61 #221361 #491361
triadic
#221361 #612213 #136122
tetradic
#221361 #61132B #526113 #136149
square
#221361 #61132B #526113 #136149
split-complementary
#221361 #614913 #2B6113
monochromatic
#09051A #10092E #221361 #341D94 #4627C7

Accessibility & contrast

On white

15.74
#221361 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#221361 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221361
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221361#FFFFFF#000000##FFFFFF
##2213611.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002563
Deuteranopia (green-blind)
#002060
Tritanopia (blue-blind)
#002939
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #221361;
/* rgb */ color: rgb(34, 19, 97);
/* oklch */ color: oklch(26.9% 0.128 282.4);
Tailwind
colors: {
  custom: {
    50: '#67538f',
    500: '#221361',
    950: '#000000',
  },
}
SCSS
$custom: #221361;
$custom-light: #67538f;
$custom-dark: #000000;
JSON
{
  "hex": "#221361",
  "rgb": {
    "r": 34,
    "g": 19,
    "b": 97
  },
  "hsl": {
    "h": 251.538,
    "s": 67.241,
    "l": 22.745
  },
  "oklch": {
    "l": 0.26931,
    "c": 0.12797,
    "h": 282.4
  },
  "luminance": 0.01669
}

Semantic roles & 50–950 ramp

primary
#221361
secondary
#869937
accent
#EA3EC9
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #221361

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

Preview Lab → · Contrast checker → · Palette generator →

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