#671A90#671A90

#671A90 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.7% C 0.181 H 310.0°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#671A90
RGBrgb(103, 26, 144)
HSLhsl(279, 69%, 33%)
HSVhsv(279, 82%, 56%)
CMYKcmyk(28.5%, 81.9%, 0%, 43.5%)
CIE-LABlab(28.48, 51.93, -48.80)
CIE-LCHlch(28.48, 71.26, 316.78°)
OKLaboklab(40.7% 0.1163 -0.1385)
OKLCHoklch(40.7% 0.181 310)
XYZxyz(10.9960, 5.6362, 26.8888)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671A90 #43901A
analogous
#2C1A90 #671A90 #901A7E
triadic
#671A90 #90671A #1A9067
tetradic
#671A90 #902C1A #43901A #1A7E90
square
#671A90 #902C1A #43901A #1A7E90
split-complementary
#671A90 #7E901A #1A902C
monochromatic
#1D0728 #42115C #671A90 #8C23C4 #A947DE

Accessibility & contrast

On white

9.87
#671A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#671A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671A90
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671A90#FFFFFF#000000##FFFFFF
##671A901.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#00448E
Tritanopia (blue-blind)
#613856
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #671a90;
/* rgb */ color: rgb(103, 26, 144);
/* oklch */ color: oklch(40.7% 0.181 310.0);
Tailwind
colors: {
  custom: {
    50: '#9761b1',
    500: '#671a90',
    950: '#000000',
  },
}
SCSS
$custom: #671a90;
$custom-light: #9761b1;
$custom-dark: #000000;
JSON
{
  "hex": "#671a90",
  "rgb": {
    "r": 103,
    "g": 26,
    "b": 144
  },
  "hsl": {
    "h": 279.153,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.407,
    "c": 0.18089,
    "h": 310
  },
  "luminance": 0.05636
}

Semantic roles & 50–950 ramp

primary
#671A90
secondary
#71BF47
accent
#EC3C79
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #671A90

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

Preview Lab → · Contrast checker → · Palette generator →

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