#671A8D#671A8D

#671A8D is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.5% C 0.178 H 311.1°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#671A8D
RGBrgb(103, 26, 141)
HSLhsl(280, 69%, 33%)
HSVhsv(280, 82%, 55%)
CMYKcmyk(27%, 81.6%, 0%, 44.7%)
CIE-LABlab(28.24, 51.28, -47.33)
CIE-LCHlch(28.24, 69.78, 317.29°)
OKLaboklab(40.46% 0.1171 -0.1342)
OKLCHoklch(40.46% 0.178 311.1)
XYZxyz(10.7697, 5.5457, 25.6972)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671A8D #408D1A
analogous
#2E1A8D #671A8D #8D1A79
triadic
#671A8D #8D671A #1A8D67
tetradic
#671A8D #8D2E1A #408D1A #1A798D
square
#671A8D #8D2E1A #408D1A #1A798D
split-complementary
#671A8D #798D1A #1A8D2E
monochromatic
#1C0726 #411059 #671A8D #8D24C1 #AA45DD

Accessibility & contrast

On white

9.96
#671A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#671A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671A8D
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671A8D#FFFFFF#000000##FFFFFF
##671A8D1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#623754
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #671a8d;
/* rgb */ color: rgb(103, 26, 141);
/* oklch */ color: oklch(40.5% 0.178 311.1);
Tailwind
colors: {
  custom: {
    50: '#9761af',
    500: '#671a8d',
    950: '#000000',
  },
}
SCSS
$custom: #671a8d;
$custom-light: #9761af;
$custom-dark: #000000;
JSON
{
  "hex": "#671a8d",
  "rgb": {
    "r": 103,
    "g": 26,
    "b": 141
  },
  "hsl": {
    "h": 280.174,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40457,
    "c": 0.17807,
    "h": 311.1
  },
  "luminance": 0.05545
}

Semantic roles & 50–950 ramp

primary
#671A8D
secondary
#6DBE45
accent
#EC3C76
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #671A8D

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

Preview Lab → · Contrast checker → · Palette generator →

#671A8D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva