#671874#671874

#671874 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.4% C 0.157 H 321.5°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#671874
RGBrgb(103, 24, 116)
HSLhsl(292, 66%, 27%)
HSVhsv(292, 79%, 45%)
CMYKcmyk(11.2%, 79.3%, 0%, 54.5%)
CIE-LABlab(26.15, 46.81, -34.95)
CIE-LCHlch(26.15, 58.42, 323.26°)
OKLaboklab(38.41% 0.1231 -0.0979)
OKLCHoklch(38.41% 0.157 321.5)
XYZxyz(9.0722, 4.7983, 16.9679)
Luminance0.0480 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671874 #257418
analogous
#391874 #671874 #741853
triadic
#671874 #746718 #187467
tetradic
#671874 #743918 #257418 #185374
square
#671874 #743918 #257418 #185374
split-complementary
#671874 #537418 #187439
monochromatic
#170519 #3A0E41 #671874 #9422A7 #BE32D5

Accessibility & contrast

On white

10.72
#671874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#671874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671874
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671874#FFFFFF#000000##FFFFFF
##6718741.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003876
Deuteranopia (green-blind)
#244172
Tritanopia (blue-blind)
#682A45
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #671874;
/* rgb */ color: rgb(103, 24, 116);
/* oklch */ color: oklch(38.4% 0.157 321.5);
Tailwind
colors: {
  custom: {
    50: '#965f9c',
    500: '#671874',
    950: '#000000',
  },
}
SCSS
$custom: #671874;
$custom-light: #965f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#671874",
  "rgb": {
    "r": 103,
    "g": 24,
    "b": 116
  },
  "hsl": {
    "h": 291.522,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.38406,
    "c": 0.15726,
    "h": 321.5
  },
  "luminance": 0.04798
}

Semantic roles & 50–950 ramp

primary
#671874
secondary
#4EA93F
accent
#E93F57
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #671874

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

Preview Lab → · Contrast checker → · Palette generator →

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