#221057#221057

#221057 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.4% C 0.118 H 286.1°. Best body text is #FFFFFF at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#221057
RGBrgb(34, 16, 87)
HSLhsl(255, 69%, 20%)
HSVhsv(255, 82%, 34%)
CMYKcmyk(60.9%, 81.6%, 0%, 65.9%)
CIE-LABlab(11.95, 29.50, -39.42)
CIE-LCHlch(11.95, 49.23, 306.82°)
OKLaboklab(25.41% 0.0327 -0.1135)
OKLCHoklch(25.41% 0.118 286.1)
XYZxyz(2.5648, 1.3986, 9.1498)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221057 #455710
analogous
#102257 #221057 #451057
triadic
#221057 #572210 #105722
tetradic
#221057 #571022 #455710 #105745
square
#221057 #571022 #455710 #105745
split-complementary
#221057 #574510 #225710
monochromatic
#0A051A #0E0623 #221057 #361A8B #4A23BE

Accessibility & contrast

On white

16.41
#221057 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#221057 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221057
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221057#FFFFFF#000000##FFFFFF
##2210571.0016.411.2816.41
#FFFFFF16.411.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002159
Deuteranopia (green-blind)
#001D56
Tritanopia (blue-blind)
#092433
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #221057;
/* rgb */ color: rgb(34, 16, 87);
/* oklch */ color: oklch(25.4% 0.118 286.1);
Tailwind
colors: {
  custom: {
    50: '#655087',
    500: '#221057',
    950: '#000000',
  },
}
SCSS
$custom: #221057;
$custom-light: #655087;
$custom-dark: #000000;
JSON
{
  "hex": "#221057",
  "rgb": {
    "r": 34,
    "g": 16,
    "b": 87
  },
  "hsl": {
    "h": 255.211,
    "s": 68.932,
    "l": 20.196
  },
  "oklch": {
    "l": 0.2541,
    "c": 0.1181,
    "h": 286.1
  },
  "luminance": 0.01399
}

Semantic roles & 50–950 ramp

primary
#221057
secondary
#799032
accent
#EC3CBF
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #221057

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

Preview Lab → · Contrast checker → · Palette generator →

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