#421768#421768

#421768 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.9% C 0.133 H 303.8°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#421768
RGBrgb(66, 23, 104)
HSLhsl(272, 64%, 25%)
HSVhsv(272, 78%, 41%)
CMYKcmyk(36.5%, 77.9%, 0%, 59.2%)
CIE-LABlab(19.10, 36.69, -38.87)
CIE-LCHlch(19.10, 53.45, 313.35°)
OKLaboklab(31.9% 0.0741 -0.1107)
OKLCHoklch(31.9% 0.133 303.8)
XYZxyz(5.0513, 2.7705, 13.3627)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421768 #3D6817
analogous
#191768 #421768 #681766
triadic
#421768 #684217 #176842
tetradic
#421768 #681917 #3D6817 #176668
square
#421768 #681917 #3D6817 #176668
split-complementary
#421768 #666817 #176819
monochromatic
#100619 #220C36 #421768 #62229A #822DCC

Accessibility & contrast

On white

13.51
#421768 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#421768 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421768
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421768#FFFFFF#000000##FFFFFF
##4217681.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6A
Deuteranopia (green-blind)
#002E66
Tritanopia (blue-blind)
#3A2B3E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #421768;
/* rgb */ color: rgb(66, 23, 104);
/* oklch */ color: oklch(31.9% 0.133 303.8);
Tailwind
colors: {
  custom: {
    50: '#7b5994',
    500: '#421768',
    950: '#000000',
  },
}
SCSS
$custom: #421768;
$custom-light: #7b5994;
$custom-dark: #000000;
JSON
{
  "hex": "#421768",
  "rgb": {
    "r": 66,
    "g": 23,
    "b": 104
  },
  "hsl": {
    "h": 271.852,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.31904,
    "c": 0.13322,
    "h": 303.8
  },
  "luminance": 0.02771
}

Semantic roles & 50–950 ramp

primary
#421768
secondary
#6A9E3D
accent
#E7418F
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #421768

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

Preview Lab → · Contrast checker → · Palette generator →

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