#221175#221175

#221175 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 29.0% C 0.155 H 278.3°. Best body text is #FFFFFF at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#221175
RGBrgb(34, 17, 117)
HSLhsl(250, 75%, 26%)
HSVhsv(250, 85%, 46%)
CMYKcmyk(70.9%, 85.5%, 0%, 54.1%)
CIE-LABlab(15.62, 38.64, -53.19)
CIE-LCHlch(15.62, 65.74, 306.00°)
OKLaboklab(29% 0.0223 -0.1536)
OKLCHoklch(29% 0.155 278.3)
XYZxyz(4.0700, 2.0250, 17.0025)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221175 #647511
analogous
#113275 #221175 #541175
triadic
#221175 #752211 #117522
tetradic
#221175 #751132 #647511 #117554
square
#221175 #751132 #647511 #117554
split-complementary
#221175 #755411 #327511
monochromatic
#08041B #120940 #221175 #3219AA #4222DF

Accessibility & contrast

On white

14.95
#221175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#221175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221175
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221175#FFFFFF#000000##FFFFFF
##2211751.0014.951.4114.95
#FFFFFF14.951.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #221175;
/* rgb */ color: rgb(34, 17, 117);
/* oklch */ color: oklch(29.0% 0.155 278.3);
Tailwind
colors: {
  custom: {
    50: '#6b539e',
    500: '#221175',
    950: '#000000',
  },
}
SCSS
$custom: #221175;
$custom-light: #6b539e;
$custom-dark: #000000;
JSON
{
  "hex": "#221175",
  "rgb": {
    "r": 34,
    "g": 17,
    "b": 117
  },
  "hsl": {
    "h": 250.2,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.28997,
    "c": 0.15524,
    "h": 278.3
  },
  "luminance": 0.02025
}

Semantic roles & 50–950 ramp

primary
#221175
secondary
#98AC36
accent
#F137D2
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #221175

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

Preview Lab → · Contrast checker → · Palette generator →

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