#671E9F#671E9F

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

Color values

HEX#671E9F
RGBrgb(103, 30, 159)
HSLhsl(274, 68%, 37%)
HSVhsv(274, 81%, 62%)
CMYKcmyk(35.2%, 81.1%, 0%, 37.6%)
CIE-LABlab(30.19, 53.89, -55.19)
CIE-LCHlch(30.19, 77.14, 314.32°)
OKLaboklab(42.28% 0.1092 -0.1573)
OKLCHoklch(42.28% 0.192 304.8)
XYZxyz(12.3144, 6.3154, 33.3644)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671E9F #569F1E
analogous
#261E9F #671E9F #9F1E97
triadic
#671E9F #9F671E #1E9F67
tetradic
#671E9F #9F261E #569F1E #1E979F
square
#671E9F #9F261E #569F1E #1E979F
split-complementary
#671E9F #979F1E #1E9F26
monochromatic
#240B38 #46146C #671E9F #8828D2 #A558DF

Accessibility & contrast

On white

9.28
#671E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#671E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671E9F
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671E9F#FFFFFF#000000##FFFFFF
##671E9F1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #671e9f;
/* rgb */ color: rgb(103, 30, 159);
/* oklch */ color: oklch(42.3% 0.192 304.8);
Tailwind
colors: {
  custom: {
    50: '#9864bc',
    500: '#671e9f',
    950: '#000000',
  },
}
SCSS
$custom: #671e9f;
$custom-light: #9864bc;
$custom-dark: #000000;
JSON
{
  "hex": "#671e9f",
  "rgb": {
    "r": 103,
    "g": 30,
    "b": 159
  },
  "hsl": {
    "h": 273.953,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42284,
    "c": 0.1915,
    "h": 304.8
  },
  "luminance": 0.06315
}

Semantic roles & 50–950 ramp

primary
#671E9F
secondary
#85C356
accent
#EB3D88
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #671E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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