#671D94#671D94

#671D94 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.3% C 0.182 H 308.4°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#671D94
RGBrgb(103, 29, 148)
HSLhsl(277, 67%, 35%)
HSVhsv(277, 80%, 58%)
CMYKcmyk(30.4%, 80.4%, 0%, 42%)
CIE-LABlab(29.16, 51.76, -50.15)
CIE-LCHlch(29.16, 72.07, 315.90°)
OKLaboklab(41.28% 0.1129 -0.1425)
OKLCHoklch(41.28% 0.182 308.4)
XYZxyz(11.3771, 5.9006, 28.5508)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671D94 #4A941D
analogous
#2C1D94 #671D94 #941D86
triadic
#671D94 #94671D #1D9467
tetradic
#671D94 #942C1D #4A941D #1D8694
square
#671D94 #942C1D #4A941D #1D8694
split-complementary
#671D94 #86941D #1D942C
monochromatic
#20092E #431361 #671D94 #8B27C7 #A74FDC

Accessibility & contrast

On white

9.63
#671D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#671D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671D94
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671D94#FFFFFF#000000##FFFFFF
##671D941.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004297
Deuteranopia (green-blind)
#004592
Tritanopia (blue-blind)
#603C59
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #671d94;
/* rgb */ color: rgb(103, 29, 148);
/* oklch */ color: oklch(41.3% 0.182 308.4);
Tailwind
colors: {
  custom: {
    50: '#9763b4',
    500: '#671d94',
    950: '#000000',
  },
}
SCSS
$custom: #671d94;
$custom-light: #9763b4;
$custom-dark: #000000;
JSON
{
  "hex": "#671d94",
  "rgb": {
    "r": 103,
    "g": 29,
    "b": 148
  },
  "hsl": {
    "h": 277.311,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41279,
    "c": 0.18181,
    "h": 308.4
  },
  "luminance": 0.059
}

Semantic roles & 50–950 ramp

primary
#671D94
secondary
#79BF4E
accent
#EA3E7F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #671D94

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

Preview Lab → · Contrast checker → · Palette generator →

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