#221655#221655

#221655 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.1% C 0.108 H 284.9°. Best body text is #FFFFFF at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#221655
RGBrgb(34, 22, 85)
HSLhsl(251, 59%, 21%)
HSVhsv(251, 74%, 33%)
CMYKcmyk(60%, 74.1%, 0%, 66.7%)
CIE-LABlab(13.04, 25.19, -36.26)
CIE-LCHlch(13.04, 44.15, 304.79°)
OKLaboklab(26.13% 0.0277 -0.1043)
OKLCHoklch(26.13% 0.108 284.9)
XYZxyz(2.5858, 1.5696, 8.7593)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221655 #495516
analogous
#162955 #221655 #411655
triadic
#221655 #552216 #165522
tetradic
#221655 #551629 #495516 #165541
square
#221655 #551629 #495516 #165541
split-complementary
#221655 #554116 #295516
monochromatic
#0A0618 #0F0924 #221655 #352386 #492FB6

Accessibility & contrast

On white

15.98
#221655 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#221655 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221655
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221655#FFFFFF#000000##FFFFFF
##2216551.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002357
Deuteranopia (green-blind)
#002054
Tritanopia (blue-blind)
#0B2633
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #221655;
/* rgb */ color: rgb(34, 22, 85);
/* oklch */ color: oklch(26.1% 0.108 284.9);
Tailwind
colors: {
  custom: {
    50: '#645486',
    500: '#221655',
    950: '#000000',
  },
}
SCSS
$custom: #221655;
$custom-light: #645486;
$custom-dark: #000000;
JSON
{
  "hex": "#221655",
  "rgb": {
    "r": 34,
    "g": 22,
    "b": 85
  },
  "hsl": {
    "h": 251.429,
    "s": 58.879,
    "l": 20.98
  },
  "oklch": {
    "l": 0.26125,
    "c": 0.10788,
    "h": 284.9
  },
  "luminance": 0.0157
}

Semantic roles & 50–950 ramp

primary
#221655
secondary
#7D8C3A
accent
#E246C4
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06030B
muted
#7A787C

Preview Lab

Preview with #221655

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

Preview Lab → · Contrast checker → · Palette generator →

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