#221365#221365

#221365 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.4% C 0.133 H 281.4°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#221365
RGBrgb(34, 19, 101)
HSLhsl(251, 68%, 24%)
HSVhsv(251, 81%, 40%)
CMYKcmyk(66.3%, 81.2%, 0%, 60.4%)
CIE-LABlab(14.09, 32.44, -45.26)
CIE-LCHlch(14.09, 55.69, 305.63°)
OKLaboklab(27.38% 0.0263 -0.1306)
OKLCHoklch(27.38% 0.133 281.4)
XYZxyz(3.2408, 1.7452, 12.4755)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221365 #566513
analogous
#132D65 #221365 #4B1365
triadic
#221365 #652213 #136522
tetradic
#221365 #65132D #566513 #13654B
square
#221365 #65132D #566513 #13654B
split-complementary
#221365 #654B13 #2D6513
monochromatic
#09051A #110931 #221365 #331D99 #4526CC

Accessibility & contrast

On white

15.57
#221365 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#221365 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221365
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221365#FFFFFF#000000##FFFFFF
##2213651.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002767
Deuteranopia (green-blind)
#002164
Tritanopia (blue-blind)
#002B3B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #221365;
/* rgb */ color: rgb(34, 19, 101);
/* oklch */ color: oklch(27.4% 0.133 281.4);
Tailwind
colors: {
  custom: {
    50: '#675392',
    500: '#221365',
    950: '#000000',
  },
}
SCSS
$custom: #221365;
$custom-light: #675392;
$custom-dark: #000000;
JSON
{
  "hex": "#221365",
  "rgb": {
    "r": 34,
    "g": 19,
    "b": 101
  },
  "hsl": {
    "h": 250.976,
    "s": 68.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.27378,
    "c": 0.13321,
    "h": 281.4
  },
  "luminance": 0.01745
}

Semantic roles & 50–950 ramp

primary
#221365
secondary
#8A9D37
accent
#EB3DCB
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #221365

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

Preview Lab → · Contrast checker → · Palette generator →

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