#671E9E#671E9E

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

Color values

HEX#671E9E
RGBrgb(103, 30, 158)
HSLhsl(274, 68%, 37%)
HSVhsv(274, 81%, 62%)
CMYKcmyk(34.8%, 81%, 0%, 38%)
CIE-LABlab(30.11, 53.66, -54.72)
CIE-LCHlch(30.11, 76.64, 314.44°)
OKLaboklab(42.2% 0.1095 -0.1559)
OKLCHoklch(42.2% 0.191 305.1)
XYZxyz(12.2279, 6.2808, 32.9092)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671E9E #559E1E
analogous
#271E9E #671E9E #9E1E95
triadic
#671E9E #9E671E #1E9E67
tetradic
#671E9E #9E271E #559E1E #1E959E
square
#671E9E #9E271E #559E1E #1E959E
split-complementary
#671E9E #959E1E #1E9E27
monochromatic
#240A37 #45146B #671E9E #8928D1 #A557DF

Accessibility & contrast

On white

9.31
#671E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671E9E
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671E9E#FFFFFF#000000##FFFFFF
##671E9E1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#5C405F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #671e9e;
/* rgb */ color: rgb(103, 30, 158);
/* oklch */ color: oklch(42.2% 0.191 305.1);
Tailwind
colors: {
  custom: {
    50: '#9864bc',
    500: '#671e9e',
    950: '#000000',
  },
}
SCSS
$custom: #671e9e;
$custom-light: #9864bc;
$custom-dark: #000000;
JSON
{
  "hex": "#671e9e",
  "rgb": {
    "r": 103,
    "g": 30,
    "b": 158
  },
  "hsl": {
    "h": 274.219,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42199,
    "c": 0.19052,
    "h": 305.1
  },
  "luminance": 0.06281
}

Semantic roles & 50–950 ramp

primary
#671E9E
secondary
#84C355
accent
#EB3D88
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #671E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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