#221075#221075

#221075 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.9% C 0.156 H 278.4°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#221075
RGBrgb(34, 16, 117)
HSLhsl(251, 76%, 26%)
HSVhsv(251, 86%, 46%)
CMYKcmyk(70.9%, 86.3%, 0%, 54.1%)
CIE-LABlab(15.46, 39.11, -53.45)
CIE-LCHlch(15.46, 66.23, 306.19°)
OKLaboklab(28.89% 0.0228 -0.1544)
OKLCHoklch(28.89% 0.156 278.4)
XYZxyz(4.0548, 1.9947, 16.9975)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221075 #637510
analogous
#103075 #221075 #541075
triadic
#221075 #752210 #107522
tetradic
#221075 #751030 #637510 #107554
square
#221075 #751030 #637510 #107554
split-complementary
#221075 #755410 #307510
monochromatic
#08041B #12093F #221075 #3217AB #411FE0

Accessibility & contrast

On white

15.01
#221075 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#221075 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221075
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221075#FFFFFF#000000##FFFFFF
##2210751.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A78
Deuteranopia (green-blind)
#002373
Tritanopia (blue-blind)
#003044
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #221075;
/* rgb */ color: rgb(34, 16, 117);
/* oklch */ color: oklch(28.9% 0.156 278.4);
Tailwind
colors: {
  custom: {
    50: '#6b539e',
    500: '#221075',
    950: '#000000',
  },
}
SCSS
$custom: #221075;
$custom-light: #6b539e;
$custom-dark: #000000;
JSON
{
  "hex": "#221075",
  "rgb": {
    "r": 34,
    "g": 16,
    "b": 117
  },
  "hsl": {
    "h": 250.693,
    "s": 75.94,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28888,
    "c": 0.15604,
    "h": 278.4
  },
  "luminance": 0.01995
}

Semantic roles & 50–950 ramp

primary
#221075
secondary
#97AC35
accent
#F335D1
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#08020E
muted
#7A787E

Preview Lab

Preview with #221075

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

Preview Lab → · Contrast checker → · Palette generator →

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