#421774#421774

#421774 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.147 H 298.9°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#421774
RGBrgb(66, 23, 116)
HSLhsl(268, 67%, 27%)
HSVhsv(268, 80%, 45%)
CMYKcmyk(43.1%, 80.2%, 0%, 54.5%)
CIE-LABlab(20.17, 39.85, -44.92)
CIE-LCHlch(20.17, 60.05, 311.58°)
OKLaboklab(32.99% 0.071 -0.1285)
OKLCHoklch(32.99% 0.147 298.9)
XYZxyz(5.7047, 3.0319, 16.8043)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421774 #497417
analogous
#171B74 #421774 #711774
triadic
#421774 #744217 #177442
tetradic
#421774 #74171B #497417 #177471
square
#421774 #74171B #497417 #177471
split-complementary
#421774 #747117 #1B7417
monochromatic
#0F051A #250D41 #421774 #5F21A7 #7C30D6

Accessibility & contrast

On white

13.07
#421774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#421774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421774
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421774#FFFFFF#000000##FFFFFF
##4217741.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003177
Deuteranopia (green-blind)
#003072
Tritanopia (blue-blind)
#363045
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #421774;
/* rgb */ color: rgb(66, 23, 116);
/* oklch */ color: oklch(33.0% 0.147 298.9);
Tailwind
colors: {
  custom: {
    50: '#7c599d',
    500: '#421774',
    950: '#000000',
  },
}
SCSS
$custom: #421774;
$custom-light: #7c599d;
$custom-dark: #000000;
JSON
{
  "hex": "#421774",
  "rgb": {
    "r": 66,
    "g": 23,
    "b": 116
  },
  "hsl": {
    "h": 267.742,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.32989,
    "c": 0.14678,
    "h": 298.9
  },
  "luminance": 0.03032
}

Semantic roles & 50–950 ramp

primary
#421774
secondary
#77A93D
accent
#EA3E9A
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421774

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

Preview Lab → · Contrast checker → · Palette generator →

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