#671F9C#671F9C

#671F9C is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.1% C 0.188 H 305.6°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#671F9C
RGBrgb(103, 31, 156)
HSLhsl(275, 67%, 37%)
HSVhsv(275, 80%, 61%)
CMYKcmyk(34%, 80.1%, 0%, 38.8%)
CIE-LABlab(30.07, 52.84, -53.57)
CIE-LCHlch(30.07, 75.24, 314.61°)
OKLaboklab(42.12% 0.1092 -0.1526)
OKLCHoklch(42.12% 0.188 305.6)
XYZxyz(12.0829, 6.2639, 32.0186)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671F9C #549C1F
analogous
#291F9C #671F9C #9C1F93
triadic
#671F9C #9C671F #1F9C67
tetradic
#671F9C #9C291F #549C1F #1F939C
square
#671F9C #9C291F #549C1F #1F939C
split-complementary
#671F9C #939C1F #1F9C29
monochromatic
#240B36 #451569 #671F9C #8929CF #A558DE

Accessibility & contrast

On white

9.32
#671F9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671F9C
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671F9C#FFFFFF#000000##FFFFFF
##671F9C1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#00479A
Tritanopia (blue-blind)
#5D405E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #671f9c;
/* rgb */ color: rgb(103, 31, 156);
/* oklch */ color: oklch(42.1% 0.188 305.6);
Tailwind
colors: {
  custom: {
    50: '#9864ba',
    500: '#671f9c',
    950: '#000000',
  },
}
SCSS
$custom: #671f9c;
$custom-light: #9864ba;
$custom-dark: #000000;
JSON
{
  "hex": "#671f9c",
  "rgb": {
    "r": 103,
    "g": 31,
    "b": 156
  },
  "hsl": {
    "h": 274.56,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42119,
    "c": 0.18762,
    "h": 305.6
  },
  "luminance": 0.06264
}

Semantic roles & 50–950 ramp

primary
#671F9C
secondary
#83C155
accent
#EA3E87
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #671F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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