#421975#421975

#421975 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.146 H 298.2°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#421975
RGBrgb(66, 25, 117)
HSLhsl(267, 65%, 28%)
HSVhsv(267, 79%, 46%)
CMYKcmyk(43.6%, 78.6%, 0%, 54.1%)
CIE-LABlab(20.59, 39.20, -44.88)
CIE-LCHlch(20.59, 59.58, 311.13°)
OKLaboklab(33.31% 0.0689 -0.1284)
OKLCHoklch(33.31% 0.146 298.2)
XYZxyz(5.8045, 3.1378, 17.1260)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421975 #4C7519
analogous
#191E75 #421975 #701975
triadic
#421975 #754219 #197542
tetradic
#421975 #75191E #4C7519 #197570
square
#421975 #75191E #4C7519 #197570
split-complementary
#421975 #757019 #1E7519
monochromatic
#0E0519 #260E43 #421975 #5E24A7 #7C35D4

Accessibility & contrast

On white

12.90
#421975 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#421975 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421975
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421975#FFFFFF#000000##FFFFFF
##4219751.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003278
Deuteranopia (green-blind)
#003173
Tritanopia (blue-blind)
#353146
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #421975;
/* rgb */ color: rgb(66, 25, 117);
/* oklch */ color: oklch(33.3% 0.146 298.2);
Tailwind
colors: {
  custom: {
    50: '#7c5a9e',
    500: '#421975',
    950: '#000000',
  },
}
SCSS
$custom: #421975;
$custom-light: #7c5a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#421975",
  "rgb": {
    "r": 66,
    "g": 25,
    "b": 117
  },
  "hsl": {
    "h": 266.739,
    "s": 64.789,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33309,
    "c": 0.14568,
    "h": 298.2
  },
  "luminance": 0.03138
}

Semantic roles & 50–950 ramp

primary
#421975
secondary
#7BAA40
accent
#E8409D
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421975

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

Preview Lab → · Contrast checker → · Palette generator →

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