#421175#421175

#421175 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.5% C 0.154 H 299.4°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#421175
RGBrgb(66, 17, 117)
HSLhsl(269, 75%, 26%)
HSVhsv(269, 85%, 46%)
CMYKcmyk(43.6%, 85.5%, 0%, 54.1%)
CIE-LABlab(19.41, 42.61, -46.81)
CIE-LCHlch(19.41, 63.30, 312.31°)
OKLaboklab(32.49% 0.0756 -0.134)
OKLCHoklch(32.49% 0.154 299.4)
XYZxyz(5.6573, 2.8434, 17.0770)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421175 #447511
analogous
#111275 #421175 #741175
triadic
#421175 #754211 #117542
tetradic
#421175 #751112 #447511 #117574
square
#421175 #751112 #447511 #117574
split-complementary
#421175 #757411 #127511
monochromatic
#0F041B #240940 #421175 #6019AA #7E22DF

Accessibility & contrast

On white

13.39
#421175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#421175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421175
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421175#FFFFFF#000000##FFFFFF
##4211751.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F78
Deuteranopia (green-blind)
#002E73
Tritanopia (blue-blind)
#352E44
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #421175;
/* rgb */ color: rgb(66, 17, 117);
/* oklch */ color: oklch(32.5% 0.154 299.4);
Tailwind
colors: {
  custom: {
    50: '#7c579e',
    500: '#421175',
    950: '#000000',
  },
}
SCSS
$custom: #421175;
$custom-light: #7c579e;
$custom-dark: #000000;
JSON
{
  "hex": "#421175",
  "rgb": {
    "r": 66,
    "g": 17,
    "b": 117
  },
  "hsl": {
    "h": 269.4,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.32486,
    "c": 0.15383,
    "h": 299.4
  },
  "luminance": 0.02844
}

Semantic roles & 50–950 ramp

primary
#421175
secondary
#72AC36
accent
#F13796
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #421175

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

Preview Lab → · Contrast checker → · Palette generator →

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