#671F9F#671F9F

#671F9F is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.4% C 0.191 H 304.7°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#671F9F
RGBrgb(103, 31, 159)
HSLhsl(274, 67%, 37%)
HSVhsv(274, 81%, 62%)
CMYKcmyk(35.2%, 80.5%, 0%, 37.6%)
CIE-LABlab(30.32, 53.53, -54.99)
CIE-LCHlch(30.32, 76.74, 314.23°)
OKLaboklab(42.37% 0.1084 -0.1567)
OKLCHoklch(42.37% 0.191 304.7)
XYZxyz(12.3401, 6.3668, 33.3730)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671F9F #579F1F
analogous
#271F9F #671F9F #9F1F97
triadic
#671F9F #9F671F #1F9F67
tetradic
#671F9F #9F271F #579F1F #1F979F
square
#671F9F #9F271F #579F1F #1F979F
split-complementary
#671F9F #979F1F #1F9F27
monochromatic
#250B39 #46156C #671F9F #8829D2 #A55ADF

Accessibility & contrast

On white

9.24
#671F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#671F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671F9F
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671F9F#FFFFFF#000000##FFFFFF
##671F9F1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#5C415F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #671f9f;
/* rgb */ color: rgb(103, 31, 159);
/* oklch */ color: oklch(42.4% 0.191 304.7);
Tailwind
colors: {
  custom: {
    50: '#9864bc',
    500: '#671f9f',
    950: '#000000',
  },
}
SCSS
$custom: #671f9f;
$custom-light: #9864bc;
$custom-dark: #000000;
JSON
{
  "hex": "#671f9f",
  "rgb": {
    "r": 103,
    "g": 31,
    "b": 159
  },
  "hsl": {
    "h": 273.75,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42372,
    "c": 0.19056,
    "h": 304.7
  },
  "luminance": 0.06367
}

Semantic roles & 50–950 ramp

primary
#671F9F
secondary
#86C357
accent
#EA3E89
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #671F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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