#221355#221355

#221355 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.6% C 0.112 H 285.9°. Best body text is #FFFFFF at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#221355
RGBrgb(34, 19, 85)
HSLhsl(254, 63%, 20%)
HSVhsv(254, 78%, 33%)
CMYKcmyk(60%, 77.6%, 0%, 66.7%)
CIE-LABlab(12.36, 27.08, -37.38)
CIE-LCHlch(12.36, 46.16, 305.92°)
OKLaboklab(25.64% 0.0306 -0.1075)
OKLCHoklch(25.64% 0.112 285.9)
XYZxyz(2.5318, 1.4616, 8.7413)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221355 #465513
analogous
#132555 #221355 #431355
triadic
#221355 #552213 #135522
tetradic
#221355 #551325 #465513 #135543
square
#221355 #551325 #465513 #135543
split-complementary
#221355 #554313 #255513
monochromatic
#0A0619 #0E0823 #221355 #361E87 #4A29B9

Accessibility & contrast

On white

16.25
#221355 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #221355
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221355#FFFFFF#000000##FFFFFF
##2213551.0016.251.2916.25
#FFFFFF16.251.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002257
Deuteranopia (green-blind)
#001E54
Tritanopia (blue-blind)
#0B2532
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #221355;
/* rgb */ color: rgb(34, 19, 85);
/* oklch */ color: oklch(25.6% 0.112 285.9);
Tailwind
colors: {
  custom: {
    50: '#645286',
    500: '#221355',
    950: '#000000',
  },
}
SCSS
$custom: #221355;
$custom-light: #645286;
$custom-dark: #000000;
JSON
{
  "hex": "#221355",
  "rgb": {
    "r": 34,
    "g": 19,
    "b": 85
  },
  "hsl": {
    "h": 253.636,
    "s": 63.462,
    "l": 20.392
  },
  "oklch": {
    "l": 0.25638,
    "c": 0.11181,
    "h": 285.9
  },
  "luminance": 0.01462
}

Semantic roles & 50–950 ramp

primary
#221355
secondary
#7A8D36
accent
#E641C1
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #221355

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

Preview Lab → · Contrast checker → · Palette generator →

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