#421165#421165

#421165 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.0% C 0.137 H 306.1°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#421165
RGBrgb(66, 17, 101)
HSLhsl(275, 71%, 23%)
HSVhsv(275, 83%, 40%)
CMYKcmyk(34.7%, 83.2%, 0%, 60.4%)
CIE-LABlab(17.91, 38.58, -38.83)
CIE-LCHlch(17.91, 54.74, 314.81°)
OKLaboklab(30.99% 0.0807 -0.1105)
OKLCHoklch(30.99% 0.137 306.1)
XYZxyz(4.7957, 2.4988, 12.5391)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421165 #346511
analogous
#181165 #421165 #65115E
triadic
#421165 #654211 #116542
tetradic
#421165 #651811 #346511 #115E65
square
#421165 #651811 #346511 #115E65
split-complementary
#421165 #5E6511 #116518
monochromatic
#11041A #200831 #421165 #641A99 #8623CE

Accessibility & contrast

On white

14.00
#421165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#421165 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421165
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421165#FFFFFF#000000##FFFFFF
##4211651.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A67
Deuteranopia (green-blind)
#002C63
Tritanopia (blue-blind)
#3C273B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #421165;
/* rgb */ color: rgb(66, 17, 101);
/* oklch */ color: oklch(31.0% 0.137 306.1);
Tailwind
colors: {
  custom: {
    50: '#7b5692',
    500: '#421165',
    950: '#000000',
  },
}
SCSS
$custom: #421165;
$custom-light: #7b5692;
$custom-dark: #000000;
JSON
{
  "hex": "#421165",
  "rgb": {
    "r": 66,
    "g": 17,
    "b": 101
  },
  "hsl": {
    "h": 275,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30988,
    "c": 0.13688,
    "h": 306.1
  },
  "luminance": 0.02499
}

Semantic roles & 50–950 ramp

primary
#421165
secondary
#609D35
accent
#EE3A85
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #421165

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

Preview Lab → · Contrast checker → · Palette generator →

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