#421C6D#421C6D

#421C6D is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.0% C 0.133 H 300.7°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#421C6D
RGBrgb(66, 28, 109)
HSLhsl(268, 59%, 27%)
HSVhsv(268, 74%, 43%)
CMYKcmyk(39.4%, 74.3%, 0%, 57.3%)
CIE-LABlab(20.41, 35.53, -40.00)
CIE-LCHlch(20.41, 53.50, 311.61°)
OKLaboklab(32.97% 0.0677 -0.114)
OKLCHoklch(32.97% 0.133 300.7)
XYZxyz(5.4217, 3.0928, 14.7764)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421C6D #476D1C
analogous
#1C1F6D #421C6D #6B1C6D
triadic
#421C6D #6D421C #1C6D42
tetradic
#421C6D #6D1C1F #476D1C #1C6D6B
square
#421C6D #6D1C1F #476D1C #1C6D6B
split-complementary
#421C6D #6D6B1C #1F6D1C
monochromatic
#0F0618 #250F3C #421C6D #5F299E #7D38CC

Accessibility & contrast

On white

12.97
#421C6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#421C6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421C6D
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421C6D#FFFFFF#000000##FFFFFF
##421C6D1.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316F
Deuteranopia (green-blind)
#00316B
Tritanopia (blue-blind)
#383042
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #421c6d;
/* rgb */ color: rgb(66, 28, 109);
/* oklch */ color: oklch(33.0% 0.133 300.7);
Tailwind
colors: {
  custom: {
    50: '#7b5c97',
    500: '#421c6d',
    950: '#000000',
  },
}
SCSS
$custom: #421c6d;
$custom-light: #7b5c97;
$custom-dark: #000000;
JSON
{
  "hex": "#421c6d",
  "rgb": {
    "r": 66,
    "g": 28,
    "b": 109
  },
  "hsl": {
    "h": 268.148,
    "s": 59.124,
    "l": 26.863
  },
  "oklch": {
    "l": 0.32967,
    "c": 0.13262,
    "h": 300.7
  },
  "luminance": 0.03093
}

Semantic roles & 50–950 ramp

primary
#421C6D
secondary
#75A243
accent
#E24599
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421C6D

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

Preview Lab → · Contrast checker → · Palette generator →

#421C6D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva