#671E9D#671E9D

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

Color values

HEX#671E9D
RGBrgb(103, 30, 157)
HSLhsl(274, 68%, 37%)
HSVhsv(274, 81%, 62%)
CMYKcmyk(34.4%, 80.9%, 0%, 38.4%)
CIE-LABlab(30.03, 53.43, -54.25)
CIE-LCHlch(30.03, 76.14, 314.57°)
OKLaboklab(42.12% 0.1097 -0.1546)
OKLCHoklch(42.12% 0.19 305.4)
XYZxyz(12.1422, 6.2465, 32.4578)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671E9D #549D1E
analogous
#281E9D #671E9D #9D1E94
triadic
#671E9D #9D671E #1E9D67
tetradic
#671E9D #9D281E #549D1E #1E949D
square
#671E9D #9D281E #549D1E #1E949D
split-complementary
#671E9D #949D1E #1E9D28
monochromatic
#240A36 #45146A #671E9D #8928D0 #A557DF

Accessibility & contrast

On white

9.34
#671E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671E9D
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671E9D#FFFFFF#000000##FFFFFF
##671E9D1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A0
Deuteranopia (green-blind)
#00479B
Tritanopia (blue-blind)
#5D405E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #671e9d;
/* rgb */ color: rgb(103, 30, 157);
/* oklch */ color: oklch(42.1% 0.190 305.4);
Tailwind
colors: {
  custom: {
    50: '#9864bb',
    500: '#671e9d',
    950: '#000000',
  },
}
SCSS
$custom: #671e9d;
$custom-light: #9864bb;
$custom-dark: #000000;
JSON
{
  "hex": "#671e9d",
  "rgb": {
    "r": 103,
    "g": 30,
    "b": 157
  },
  "hsl": {
    "h": 274.488,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42115,
    "c": 0.18956,
    "h": 305.4
  },
  "luminance": 0.06246
}

Semantic roles & 50–950 ramp

primary
#671E9D
secondary
#83C254
accent
#EB3D87
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #671E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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