#421673#421673

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

Color values

HEX#421673
RGBrgb(66, 22, 115)
HSLhsl(268, 68%, 27%)
HSVhsv(268, 81%, 45%)
CMYKcmyk(42.6%, 80.9%, 0%, 54.9%)
CIE-LABlab(19.92, 40.04, -44.68)
CIE-LCHlch(19.92, 59.99, 311.87°)
OKLaboklab(32.79% 0.0722 -0.1277)
OKLCHoklch(32.79% 0.147 299.5)
XYZxyz(5.6274, 2.9698, 16.4931)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421673 #477316
analogous
#161973 #421673 #711673
triadic
#421673 #734216 #167342
tetradic
#421673 #731619 #477316 #167371
square
#421673 #731619 #477316 #167371
split-complementary
#421673 #737116 #197316
monochromatic
#0F051A #250C40 #421673 #5F20A6 #7D2DD7

Accessibility & contrast

On white

13.17
#421673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#421673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421673
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421673#FFFFFF#000000##FFFFFF
##4216731.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003076
Deuteranopia (green-blind)
#002F71
Tritanopia (blue-blind)
#362F44
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #421673;
/* rgb */ color: rgb(66, 22, 115);
/* oklch */ color: oklch(32.8% 0.147 299.5);
Tailwind
colors: {
  custom: {
    50: '#7c599c',
    500: '#421673',
    950: '#000000',
  },
}
SCSS
$custom: #421673;
$custom-light: #7c599c;
$custom-dark: #000000;
JSON
{
  "hex": "#421673",
  "rgb": {
    "r": 66,
    "g": 22,
    "b": 115
  },
  "hsl": {
    "h": 268.387,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.32787,
    "c": 0.14674,
    "h": 299.5
  },
  "luminance": 0.0297
}

Semantic roles & 50–950 ramp

primary
#421673
secondary
#75A93C
accent
#EB3D99
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421673

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

Preview Lab → · Contrast checker → · Palette generator →

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