#671C94#671C94

#671C94 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.183 H 308.5°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#671C94
RGBrgb(103, 28, 148)
HSLhsl(278, 68%, 35%)
HSVhsv(278, 81%, 58%)
CMYKcmyk(30.4%, 81.1%, 0%, 42%)
CIE-LABlab(29.04, 52.12, -50.35)
CIE-LCHlch(29.04, 72.47, 315.99°)
OKLaboklab(41.19% 0.1137 -0.1431)
OKLCHoklch(41.19% 0.183 308.5)
XYZxyz(11.3530, 5.8524, 28.5428)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671C94 #49941C
analogous
#2B1C94 #671C94 #941C85
triadic
#671C94 #94671C #1C9467
tetradic
#671C94 #942B1C #49941C #1C8594
square
#671C94 #942B1C #49941C #1C8594
split-complementary
#671C94 #85941C #1C942B
monochromatic
#1F092D #431261 #671C94 #8B26C7 #A74DDD

Accessibility & contrast

On white

9.68
#671C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#671C94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671C94
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671C94#FFFFFF#000000##FFFFFF
##671C941.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #671c94;
/* rgb */ color: rgb(103, 28, 148);
/* oklch */ color: oklch(41.2% 0.183 308.5);
Tailwind
colors: {
  custom: {
    50: '#9762b4',
    500: '#671c94',
    950: '#000000',
  },
}
SCSS
$custom: #671c94;
$custom-light: #9762b4;
$custom-dark: #000000;
JSON
{
  "hex": "#671c94",
  "rgb": {
    "r": 103,
    "g": 28,
    "b": 148
  },
  "hsl": {
    "h": 277.5,
    "s": 68.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41193,
    "c": 0.18278,
    "h": 308.5
  },
  "luminance": 0.05852
}

Semantic roles & 50–950 ramp

primary
#671C94
secondary
#77C04C
accent
#EB3D7E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #671C94

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

Preview Lab → · Contrast checker → · Palette generator →

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