#671D8F#671D8F

#671D8F is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.9% C 0.177 H 310.1°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#671D8F
RGBrgb(103, 29, 143)
HSLhsl(279, 66%, 34%)
HSVhsv(279, 80%, 56%)
CMYKcmyk(28%, 79.7%, 0%, 43.9%)
CIE-LABlab(28.76, 50.65, -47.71)
CIE-LCHlch(28.76, 69.58, 316.71°)
OKLaboklab(40.88% 0.1141 -0.1353)
OKLCHoklch(40.88% 0.177 310.1)
XYZxyz(10.9898, 5.7457, 26.5114)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671D8F #458F1D
analogous
#2E1D8F #671D8F #8F1D7E
triadic
#671D8F #8F671D #1D8F67
tetradic
#671D8F #8F2E1D #458F1D #1D7E8F
square
#671D8F #8F2E1D #458F1D #1D7E8F
split-complementary
#671D8F #7E8F1D #1D8F2E
monochromatic
#1E0829 #42135C #671D8F #8C27C2 #A94CDB

Accessibility & contrast

On white

9.77
#671D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#671D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671D8F
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671D8F#FFFFFF#000000##FFFFFF
##671D8F1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#613956
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #671d8f;
/* rgb */ color: rgb(103, 29, 143);
/* oklch */ color: oklch(40.9% 0.177 310.1);
Tailwind
colors: {
  custom: {
    50: '#9762b1',
    500: '#671d8f',
    950: '#000000',
  },
}
SCSS
$custom: #671d8f;
$custom-light: #9762b1;
$custom-dark: #000000;
JSON
{
  "hex": "#671d8f",
  "rgb": {
    "r": 103,
    "g": 29,
    "b": 143
  },
  "hsl": {
    "h": 278.947,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40875,
    "c": 0.17701,
    "h": 310.1
  },
  "luminance": 0.05745
}

Semantic roles & 50–950 ramp

primary
#671D8F
secondary
#73BD4B
accent
#E93F7A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #671D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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