#671E9C#671E9C

#671E9C is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.0% C 0.189 H 305.7°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#671E9C
RGBrgb(103, 30, 156)
HSLhsl(275, 68%, 36%)
HSVhsv(275, 81%, 61%)
CMYKcmyk(34%, 80.8%, 0%, 38.8%)
CIE-LABlab(29.94, 53.20, -53.77)
CIE-LCHlch(29.94, 75.65, 314.69°)
OKLaboklab(42.03% 0.11 -0.1532)
OKLCHoklch(42.03% 0.189 305.7)
XYZxyz(12.0572, 6.2125, 32.0100)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671E9C #539C1E
analogous
#281E9C #671E9C #9C1E92
triadic
#671E9C #9C671E #1E9C67
tetradic
#671E9C #9C281E #539C1E #1E929C
square
#671E9C #9C281E #539C1E #1E929C
split-complementary
#671E9C #929C1E #1E9C28
monochromatic
#230A35 #451469 #671E9C #8928CF #A556DE

Accessibility & contrast

On white

9.36
#671E9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#671E9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671E9C
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671E9C#FFFFFF#000000##FFFFFF
##671E9C1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #671e9c;
/* rgb */ color: rgb(103, 30, 156);
/* oklch */ color: oklch(42.0% 0.189 305.7);
Tailwind
colors: {
  custom: {
    50: '#9864ba',
    500: '#671e9c',
    950: '#000000',
  },
}
SCSS
$custom: #671e9c;
$custom-light: #9864ba;
$custom-dark: #000000;
JSON
{
  "hex": "#671e9c",
  "rgb": {
    "r": 103,
    "g": 30,
    "b": 156
  },
  "hsl": {
    "h": 274.762,
    "s": 67.742,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4203,
    "c": 0.18858,
    "h": 305.7
  },
  "luminance": 0.06212
}

Semantic roles & 50–950 ramp

primary
#671E9C
secondary
#82C254
accent
#EB3D86
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #671E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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