#221058#221058

#221058 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.5% C 0.119 H 285.8°. Best body text is #FFFFFF at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#221058
RGBrgb(34, 16, 88)
HSLhsl(255, 69%, 20%)
HSVhsv(255, 82%, 35%)
CMYKcmyk(61.4%, 81.8%, 0%, 65.5%)
CIE-LABlab(12.06, 29.83, -39.91)
CIE-LCHlch(12.06, 49.83, 306.77°)
OKLaboklab(25.52% 0.0324 -0.1149)
OKLCHoklch(25.52% 0.119 285.8)
XYZxyz(2.6059, 1.4151, 9.3665)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221058 #465810
analogous
#102258 #221058 #461058
triadic
#221058 #582210 #105822
tetradic
#221058 #581022 #465810 #105846
square
#221058 #581022 #465810 #105846
split-complementary
#221058 #584610 #225810
monochromatic
#0A051A #0E0724 #221058 #36198C #4A23C0

Accessibility & contrast

On white

16.37
#221058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #221058
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221058#FFFFFF#000000##FFFFFF
##2210581.0016.371.2816.37
#FFFFFF16.371.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215A
Deuteranopia (green-blind)
#001D57
Tritanopia (blue-blind)
#072433
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #221058;
/* rgb */ color: rgb(34, 16, 88);
/* oklch */ color: oklch(25.5% 0.119 285.8);
Tailwind
colors: {
  custom: {
    50: '#655088',
    500: '#221058',
    950: '#000000',
  },
}
SCSS
$custom: #221058;
$custom-light: #655088;
$custom-dark: #000000;
JSON
{
  "hex": "#221058",
  "rgb": {
    "r": 34,
    "g": 16,
    "b": 88
  },
  "hsl": {
    "h": 255,
    "s": 69.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.2552,
    "c": 0.11942,
    "h": 285.8
  },
  "luminance": 0.01415
}

Semantic roles & 50–950 ramp

primary
#221058
secondary
#7A9132
accent
#EC3CC0
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #221058

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

Preview Lab → · Contrast checker → · Palette generator →

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