#671A93#671A93

#671A93 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.9% C 0.184 H 309.0°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#671A93
RGBrgb(103, 26, 147)
HSLhsl(278, 70%, 34%)
HSVhsv(278, 82%, 58%)
CMYKcmyk(29.9%, 82.3%, 0%, 42.4%)
CIE-LABlab(28.72, 52.58, -50.25)
CIE-LCHlch(28.72, 72.74, 316.30°)
OKLaboklab(40.95% 0.1156 -0.1428)
OKLCHoklch(40.95% 0.184 309)
XYZxyz(11.2283, 5.7291, 28.1124)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671A93 #46931A
analogous
#2B1A93 #671A93 #931A83
triadic
#671A93 #93671A #1A9367
tetradic
#671A93 #932B1A #46931A #1A8393
square
#671A93 #932B1A #46931A #1A8393
split-complementary
#671A93 #83931A #1A932B
monochromatic
#1E082B #43115F #671A93 #8B23C7 #A849DF

Accessibility & contrast

On white

9.79
#671A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671A93
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671A93#FFFFFF#000000##FFFFFF
##671A931.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #671a93;
/* rgb */ color: rgb(103, 26, 147);
/* oklch */ color: oklch(40.9% 0.184 309.0);
Tailwind
colors: {
  custom: {
    50: '#9761b4',
    500: '#671a93',
    950: '#000000',
  },
}
SCSS
$custom: #671a93;
$custom-light: #9761b4;
$custom-dark: #000000;
JSON
{
  "hex": "#671a93",
  "rgb": {
    "r": 103,
    "g": 26,
    "b": 147
  },
  "hsl": {
    "h": 278.182,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40945,
    "c": 0.18369,
    "h": 309
  },
  "luminance": 0.05729
}

Semantic roles & 50–950 ramp

primary
#671A93
secondary
#74C048
accent
#ED3B7C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #671A93

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

Preview Lab → · Contrast checker → · Palette generator →

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