#671A8E#671A8E

#671A8E is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.5% C 0.179 H 310.7°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#671A8E
RGBrgb(103, 26, 142)
HSLhsl(280, 69%, 33%)
HSVhsv(280, 82%, 56%)
CMYKcmyk(27.5%, 81.7%, 0%, 44.3%)
CIE-LABlab(28.32, 51.49, -47.82)
CIE-LCHlch(28.32, 70.27, 317.12°)
OKLaboklab(40.54% 0.1168 -0.1356)
OKLCHoklch(40.54% 0.179 310.7)
XYZxyz(10.8444, 5.5756, 26.0909)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671A8E #418E1A
analogous
#2D1A8E #671A8E #8E1A7B
triadic
#671A8E #8E671A #1A8E67
tetradic
#671A8E #8E2D1A #418E1A #1A7B8E
square
#671A8E #8E2D1A #418E1A #1A7B8E
split-complementary
#671A8E #7B8E1A #1A8E2D
monochromatic
#1C0727 #41115A #671A8E #8D23C2 #AA45DD

Accessibility & contrast

On white

9.93
#671A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#671A8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671A8E
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671A8E#FFFFFF#000000##FFFFFF
##671A8E1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00448C
Tritanopia (blue-blind)
#623855
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #671a8e;
/* rgb */ color: rgb(103, 26, 142);
/* oklch */ color: oklch(40.5% 0.179 310.7);
Tailwind
colors: {
  custom: {
    50: '#9761b0',
    500: '#671a8e',
    950: '#000000',
  },
}
SCSS
$custom: #671a8e;
$custom-light: #9761b0;
$custom-dark: #000000;
JSON
{
  "hex": "#671a8e",
  "rgb": {
    "r": 103,
    "g": 26,
    "b": 142
  },
  "hsl": {
    "h": 279.828,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40538,
    "c": 0.179,
    "h": 310.7
  },
  "luminance": 0.05575
}

Semantic roles & 50–950 ramp

primary
#671A8E
secondary
#6EBE45
accent
#EC3C77
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #671A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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