#671E9B#671E9B

#671E9B is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.9% C 0.188 H 306.0°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#671E9B
RGBrgb(103, 30, 155)
HSLhsl(275, 68%, 36%)
HSVhsv(275, 81%, 61%)
CMYKcmyk(33.5%, 80.6%, 0%, 39.2%)
CIE-LABlab(29.86, 52.98, -53.30)
CIE-LCHlch(29.86, 75.15, 314.82°)
OKLaboklab(41.95% 0.1103 -0.1518)
OKLCHoklch(41.95% 0.188 306)
XYZxyz(11.9729, 6.1788, 31.5659)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671E9B #529B1E
analogous
#291E9B #671E9B #9B1E91
triadic
#671E9B #9B671E #1E9B67
tetradic
#671E9B #9B291E #529B1E #1E919B
square
#671E9B #9B291E #529B1E #1E919B
split-complementary
#671E9B #919B1E #1E9B29
monochromatic
#230A34 #451468 #671E9B #8928CE #A555DE

Accessibility & contrast

On white

9.39
#671E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#671E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671E9B
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671E9B#FFFFFF#000000##FFFFFF
##671E9B1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#004799
Tritanopia (blue-blind)
#5E3F5D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #671e9b;
/* rgb */ color: rgb(103, 30, 155);
/* oklch */ color: oklch(41.9% 0.188 306.0);
Tailwind
colors: {
  custom: {
    50: '#9863b9',
    500: '#671e9b',
    950: '#000000',
  },
}
SCSS
$custom: #671e9b;
$custom-light: #9863b9;
$custom-dark: #000000;
JSON
{
  "hex": "#671e9b",
  "rgb": {
    "r": 103,
    "g": 30,
    "b": 155
  },
  "hsl": {
    "h": 275.04,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41946,
    "c": 0.18761,
    "h": 306
  },
  "luminance": 0.06179
}

Semantic roles & 50–950 ramp

primary
#671E9B
secondary
#81C253
accent
#EA3D85
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #671E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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