#671F95#671F95

#671F95 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.5% C 0.181 H 307.9°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#671F95
RGBrgb(103, 31, 149)
HSLhsl(277, 66%, 35%)
HSVhsv(277, 79%, 58%)
CMYKcmyk(30.9%, 79.2%, 0%, 41.6%)
CIE-LABlab(29.50, 51.24, -50.22)
CIE-LCHlch(29.50, 71.75, 315.58°)
OKLaboklab(41.54% 0.111 -0.1427)
OKLCHoklch(41.54% 0.181 307.9)
XYZxyz(11.5072, 6.0336, 28.9863)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671F95 #4D951F
analogous
#2C1F95 #671F95 #951F88
triadic
#671F95 #95671F #1F9567
tetradic
#671F95 #952C1F #4D951F #1F8895
square
#671F95 #952C1F #4D951F #1F8895
split-complementary
#671F95 #88951F #1F952C
monochromatic
#210A30 #441462 #671F95 #8A2AC8 #A653DB

Accessibility & contrast

On white

9.52
#671F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#671F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671F95
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671F95#FFFFFF#000000##FFFFFF
##671F951.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#004693
Tritanopia (blue-blind)
#5F3D5A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #671f95;
/* rgb */ color: rgb(103, 31, 149);
/* oklch */ color: oklch(41.5% 0.181 307.9);
Tailwind
colors: {
  custom: {
    50: '#9764b5',
    500: '#671f95',
    950: '#000000',
  },
}
SCSS
$custom: #671f95;
$custom-light: #9764b5;
$custom-dark: #000000;
JSON
{
  "hex": "#671f95",
  "rgb": {
    "r": 103,
    "g": 31,
    "b": 149
  },
  "hsl": {
    "h": 276.61,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4154,
    "c": 0.18077,
    "h": 307.9
  },
  "luminance": 0.06033
}

Semantic roles & 50–950 ramp

primary
#671F95
secondary
#7CBF51
accent
#E93F81
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #671F95

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

Preview Lab → · Contrast checker → · Palette generator →

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