#671E95#671E95

#671E95 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.4% C 0.182 H 308.0°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#671E95
RGBrgb(103, 30, 149)
HSLhsl(277, 66%, 35%)
HSVhsv(277, 80%, 58%)
CMYKcmyk(30.9%, 79.9%, 0%, 41.6%)
CIE-LABlab(29.37, 51.62, -50.43)
CIE-LCHlch(29.37, 72.16, 315.67°)
OKLaboklab(41.45% 0.1118 -0.1433)
OKLCHoklch(41.45% 0.182 308)
XYZxyz(11.4815, 5.9822, 28.9778)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671E95 #4C951E
analogous
#2C1E95 #671E95 #951E87
triadic
#671E95 #95671E #1E9567
tetradic
#671E95 #952C1E #4C951E #1E8795
square
#671E95 #952C1E #4C951E #1E8795
split-complementary
#671E95 #87951E #1E952C
monochromatic
#21092F #441462 #671E95 #8A28C8 #A651DC

Accessibility & contrast

On white

9.56
#671E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#671E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671E95
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671E95#FFFFFF#000000##FFFFFF
##671E951.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#004693
Tritanopia (blue-blind)
#5F3C59
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #671e95;
/* rgb */ color: rgb(103, 30, 149);
/* oklch */ color: oklch(41.4% 0.182 308.0);
Tailwind
colors: {
  custom: {
    50: '#9763b5',
    500: '#671e95',
    950: '#000000',
  },
}
SCSS
$custom: #671e95;
$custom-light: #9763b5;
$custom-dark: #000000;
JSON
{
  "hex": "#671e95",
  "rgb": {
    "r": 103,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 276.807,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4145,
    "c": 0.18179,
    "h": 308
  },
  "luminance": 0.05982
}

Semantic roles & 50–950 ramp

primary
#671E95
secondary
#7BBF50
accent
#E93E81
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #671E95

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

Preview Lab → · Contrast checker → · Palette generator →

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