#671D9E#671D9E

#671D9E is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.1% C 0.191 H 305.2°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#671D9E
RGBrgb(103, 29, 158)
HSLhsl(274, 69%, 37%)
HSVhsv(274, 82%, 62%)
CMYKcmyk(34.8%, 81.6%, 0%, 38%)
CIE-LABlab(29.99, 54.02, -54.92)
CIE-LCHlch(29.99, 77.03, 314.52°)
OKLaboklab(42.11% 0.1102 -0.1565)
OKLCHoklch(42.11% 0.191 305.2)
XYZxyz(12.2030, 6.2310, 32.9009)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671D9E #549E1D
analogous
#271D9E #671D9E #9E1D95
triadic
#671D9E #9E671D #1D9E67
tetradic
#671D9E #9E271D #549E1D #1D959E
square
#671D9E #9E271D #549E1D #1D959E
split-complementary
#671D9E #959E1D #1D9E27
monochromatic
#240A37 #45146A #671D9E #8926D2 #A556E0

Accessibility & contrast

On white

9.35
#671D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#671D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671D9E
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671D9E#FFFFFF#000000##FFFFFF
##671D9E1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#5C405E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #671d9e;
/* rgb */ color: rgb(103, 29, 158);
/* oklch */ color: oklch(42.1% 0.191 305.2);
Tailwind
colors: {
  custom: {
    50: '#9863bc',
    500: '#671d9e',
    950: '#000000',
  },
}
SCSS
$custom: #671d9e;
$custom-light: #9863bc;
$custom-dark: #000000;
JSON
{
  "hex": "#671d9e",
  "rgb": {
    "r": 103,
    "g": 29,
    "b": 158
  },
  "hsl": {
    "h": 274.419,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42114,
    "c": 0.19144,
    "h": 305.2
  },
  "luminance": 0.06231
}

Semantic roles & 50–950 ramp

primary
#671D9E
secondary
#83C354
accent
#EC3C87
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #671D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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