#671B95#671B95

#671B95 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.2% C 0.185 H 308.2°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#671B95
RGBrgb(103, 27, 149)
HSLhsl(277, 69%, 35%)
HSVhsv(277, 82%, 58%)
CMYKcmyk(30.9%, 81.9%, 0%, 41.6%)
CIE-LABlab(29.00, 52.69, -51.03)
CIE-LCHlch(29.00, 73.35, 315.92°)
OKLaboklab(41.19% 0.1143 -0.1451)
OKLCHoklch(41.19% 0.185 308.2)
XYZxyz(11.4091, 5.8375, 28.9537)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671B95 #49951B
analogous
#2A1B95 #671B95 #951B86
triadic
#671B95 #95671B #1B9567
tetradic
#671B95 #952A1B #49951B #1B8695
square
#671B95 #952A1B #49951B #1B8695
split-complementary
#671B95 #86951B #1B952A
monochromatic
#1F082D #431261 #671B95 #8B24C9 #A74CDF

Accessibility & contrast

On white

9.69
#671B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#671B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671B95
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671B95#FFFFFF#000000##FFFFFF
##671B951.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004298
Deuteranopia (green-blind)
#004593
Tritanopia (blue-blind)
#603B59
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #671b95;
/* rgb */ color: rgb(103, 27, 149);
/* oklch */ color: oklch(41.2% 0.185 308.2);
Tailwind
colors: {
  custom: {
    50: '#9762b5',
    500: '#671b95',
    950: '#000000',
  },
}
SCSS
$custom: #671b95;
$custom-light: #9762b5;
$custom-dark: #000000;
JSON
{
  "hex": "#671b95",
  "rgb": {
    "r": 103,
    "g": 27,
    "b": 149
  },
  "hsl": {
    "h": 277.377,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41192,
    "c": 0.18467,
    "h": 308.2
  },
  "luminance": 0.05837
}

Semantic roles & 50–950 ramp

primary
#671B95
secondary
#77C14B
accent
#EC3C7E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #671B95

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

Preview Lab → · Contrast checker → · Palette generator →

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