#671996#671996

#671996 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.1% C 0.187 H 308.0°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#671996
RGBrgb(103, 25, 150)
HSLhsl(277, 71%, 34%)
HSVhsv(277, 83%, 59%)
CMYKcmyk(31.3%, 83.3%, 0%, 41.2%)
CIE-LABlab(28.85, 53.57, -51.88)
CIE-LCHlch(28.85, 74.57, 315.92°)
OKLaboklab(41.12% 0.1155 -0.1476)
OKLCHoklch(41.12% 0.187 308)
XYZxyz(11.4450, 5.7810, 29.3612)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671996 #489619
analogous
#291996 #671996 #961987
triadic
#671996 #966719 #199667
tetradic
#671996 #962919 #489619 #198796
square
#671996 #962919 #489619 #198796
split-complementary
#671996 #879619 #199629
monochromatic
#1F082D #431062 #671996 #8B22CA #A849E1

Accessibility & contrast

On white

9.74
#671996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#671996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671996
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671996#FFFFFF#000000##FFFFFF
##6719961.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004199
Deuteranopia (green-blind)
#004594
Tritanopia (blue-blind)
#5F3B59
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #671996;
/* rgb */ color: rgb(103, 25, 150);
/* oklch */ color: oklch(41.1% 0.187 308.0);
Tailwind
colors: {
  custom: {
    50: '#9861b6',
    500: '#671996',
    950: '#000000',
  },
}
SCSS
$custom: #671996;
$custom-light: #9861b6;
$custom-dark: #000000;
JSON
{
  "hex": "#671996",
  "rgb": {
    "r": 103,
    "g": 25,
    "b": 150
  },
  "hsl": {
    "h": 277.44,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41116,
    "c": 0.1874,
    "h": 308
  },
  "luminance": 0.05781
}

Semantic roles & 50–950 ramp

primary
#671996
secondary
#76C249
accent
#EE3A7E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #671996

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

Preview Lab → · Contrast checker → · Palette generator →

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