#671D9F#671D9F

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

Color values

HEX#671D9F
RGBrgb(103, 29, 159)
HSLhsl(274, 69%, 37%)
HSVhsv(274, 82%, 62%)
CMYKcmyk(35.2%, 81.8%, 0%, 37.6%)
CIE-LABlab(30.07, 54.24, -55.39)
CIE-LCHlch(30.07, 77.53, 314.40°)
OKLaboklab(42.2% 0.1099 -0.1579)
OKLCHoklch(42.2% 0.192 304.8)
XYZxyz(12.2895, 6.2656, 33.3561)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671D9F #559F1D
analogous
#261D9F #671D9F #9F1D96
triadic
#671D9F #9F671D #1D9F67
tetradic
#671D9F #9F261D #559F1D #1D969F
square
#671D9F #9F261D #559F1D #1D969F
split-complementary
#671D9F #969F1D #1D9F26
monochromatic
#240A37 #45146B #671D9F #8926D3 #A556E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##671D9F#FFFFFF#000000##FFFFFF
##671D9F1.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)
#0045A2
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#5C405F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #671d9f;
/* rgb */ color: rgb(103, 29, 159);
/* oklch */ color: oklch(42.2% 0.192 304.8);
Tailwind
colors: {
  custom: {
    50: '#9863bc',
    500: '#671d9f',
    950: '#000000',
  },
}
SCSS
$custom: #671d9f;
$custom-light: #9863bc;
$custom-dark: #000000;
JSON
{
  "hex": "#671d9f",
  "rgb": {
    "r": 103,
    "g": 29,
    "b": 159
  },
  "hsl": {
    "h": 274.154,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.422,
    "c": 0.19241,
    "h": 304.8
  },
  "luminance": 0.06265
}

Semantic roles & 50–950 ramp

primary
#671D9F
secondary
#84C454
accent
#EC3C88
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #671D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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