#421674#421674

#421674 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.148 H 299.1°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#421674
RGBrgb(66, 22, 116)
HSLhsl(268, 68%, 27%)
HSVhsv(268, 81%, 45%)
CMYKcmyk(43.1%, 81%, 0%, 54.5%)
CIE-LABlab(20.02, 40.30, -45.17)
CIE-LCHlch(20.02, 60.54, 311.74°)
OKLaboklab(32.88% 0.0719 -0.1292)
OKLCHoklch(32.88% 0.148 299.1)
XYZxyz(5.6853, 2.9929, 16.7978)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421674 #487416
analogous
#161974 #421674 #711674
triadic
#421674 #744216 #167442
tetradic
#421674 #741619 #487416 #167471
square
#421674 #741619 #487416 #167471
split-complementary
#421674 #747116 #197416
monochromatic
#0F051A #250C41 #421674 #5F20A7 #7D2DD7

Accessibility & contrast

On white

13.14
#421674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#421674 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421674
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421674#FFFFFF#000000##FFFFFF
##4216741.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003077
Deuteranopia (green-blind)
#002F72
Tritanopia (blue-blind)
#362F45
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #421674;
/* rgb */ color: rgb(66, 22, 116);
/* oklch */ color: oklch(32.9% 0.148 299.1);
Tailwind
colors: {
  custom: {
    50: '#7c599d',
    500: '#421674',
    950: '#000000',
  },
}
SCSS
$custom: #421674;
$custom-light: #7c599d;
$custom-dark: #000000;
JSON
{
  "hex": "#421674",
  "rgb": {
    "r": 66,
    "g": 22,
    "b": 116
  },
  "hsl": {
    "h": 268.085,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.3288,
    "c": 0.14785,
    "h": 299.1
  },
  "luminance": 0.02993
}

Semantic roles & 50–950 ramp

primary
#421674
secondary
#76AA3C
accent
#EB3D99
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421674

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

Preview Lab → · Contrast checker → · Palette generator →

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