#671A94#671A94

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

Color values

HEX#671A94
RGBrgb(103, 26, 148)
HSLhsl(278, 70%, 34%)
HSVhsv(278, 82%, 58%)
CMYKcmyk(30.4%, 82.4%, 0%, 42%)
CIE-LABlab(28.80, 52.80, -50.73)
CIE-LCHlch(28.80, 73.23, 316.14°)
OKLaboklab(41.03% 0.1153 -0.1442)
OKLCHoklch(41.03% 0.185 308.6)
XYZxyz(11.3071, 5.7607, 28.5275)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671A94 #47941A
analogous
#2A1A94 #671A94 #941A84
triadic
#671A94 #94671A #1A9467
tetradic
#671A94 #942A1A #47941A #1A8494
square
#671A94 #942A1A #47941A #1A8494
split-complementary
#671A94 #84941A #1A942A
monochromatic
#1F082C #431160 #671A94 #8B23C8 #A849DF

Accessibility & contrast

On white

9.76
#671A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#671A94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671A94
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671A94#FFFFFF#000000##FFFFFF
##671A941.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004197
Deuteranopia (green-blind)
#004592
Tritanopia (blue-blind)
#603A58
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #671a94;
/* rgb */ color: rgb(103, 26, 148);
/* oklch */ color: oklch(41.0% 0.185 308.6);
Tailwind
colors: {
  custom: {
    50: '#9761b4',
    500: '#671a94',
    950: '#000000',
  },
}
SCSS
$custom: #671a94;
$custom-light: #9761b4;
$custom-dark: #000000;
JSON
{
  "hex": "#671a94",
  "rgb": {
    "r": 103,
    "g": 26,
    "b": 148
  },
  "hsl": {
    "h": 277.869,
    "s": 70.115,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41028,
    "c": 0.18463,
    "h": 308.6
  },
  "luminance": 0.0576
}

Semantic roles & 50–950 ramp

primary
#671A94
secondary
#75C149
accent
#ED3B7D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #671A94

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

Preview Lab → · Contrast checker → · Palette generator →

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