#671474#671474

#671474 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 38.1% C 0.161 H 321.7°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#671474
RGBrgb(103, 20, 116)
HSLhsl(292, 71%, 27%)
HSVhsv(292, 83%, 45%)
CMYKcmyk(11.2%, 82.8%, 0%, 54.5%)
CIE-LABlab(25.70, 48.12, -35.68)
CIE-LCHlch(25.70, 59.90, 323.45°)
OKLaboklab(38.09% 0.1266 -0.1)
OKLCHoklch(38.09% 0.161 321.7)
XYZxyz(8.9957, 4.6453, 16.9424)
Luminance0.0464 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671474 #217414
analogous
#371474 #671474 #741451
triadic
#671474 #746714 #147467
tetradic
#671474 #743714 #217414 #145174
square
#671474 #743714 #217414 #145174
split-complementary
#671474 #517414 #147437
monochromatic
#17051A #390B40 #671474 #951DA8 #C228DA

Accessibility & contrast

On white

10.89
#671474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#671474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671474
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671474#FFFFFF#000000##FFFFFF
##6714741.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003777
Deuteranopia (green-blind)
#224072
Tritanopia (blue-blind)
#682844
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #671474;
/* rgb */ color: rgb(103, 20, 116);
/* oklch */ color: oklch(38.1% 0.161 321.7);
Tailwind
colors: {
  custom: {
    50: '#965d9c',
    500: '#671474',
    950: '#000000',
  },
}
SCSS
$custom: #671474;
$custom-light: #965d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#671474",
  "rgb": {
    "r": 103,
    "g": 20,
    "b": 116
  },
  "hsl": {
    "h": 291.875,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.38085,
    "c": 0.16131,
    "h": 321.7
  },
  "luminance": 0.04645
}

Semantic roles & 50–950 ramp

primary
#671474
secondary
#49AA3A
accent
#ED3A53
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #671474

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

Preview Lab → · Contrast checker → · Palette generator →

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