#671A8F#671A8F

#671A8F is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.6% C 0.180 H 310.4°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#671A8F
RGBrgb(103, 26, 143)
HSLhsl(279, 69%, 33%)
HSVhsv(279, 82%, 56%)
CMYKcmyk(28%, 81.8%, 0%, 43.9%)
CIE-LABlab(28.40, 51.71, -48.31)
CIE-LCHlch(28.40, 70.76, 316.95°)
OKLaboklab(40.62% 0.1166 -0.1371)
OKLCHoklch(40.62% 0.18 310.4)
XYZxyz(10.9199, 5.6058, 26.4881)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671A8F #428F1A
analogous
#2C1A8F #671A8F #8F1A7C
triadic
#671A8F #8F671A #1A8F67
tetradic
#671A8F #8F2C1A #428F1A #1A7C8F
square
#671A8F #8F2C1A #428F1A #1A7C8F
split-complementary
#671A8F #7C8F1A #1A8F2C
monochromatic
#1C0727 #42115B #671A8F #8C23C3 #AA46DD

Accessibility & contrast

On white

9.90
#671A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671A8F
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671A8F#FFFFFF#000000##FFFFFF
##671A8F1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#613855
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #671a8f;
/* rgb */ color: rgb(103, 26, 143);
/* oklch */ color: oklch(40.6% 0.180 310.4);
Tailwind
colors: {
  custom: {
    50: '#9761b1',
    500: '#671a8f',
    950: '#000000',
  },
}
SCSS
$custom: #671a8f;
$custom-light: #9761b1;
$custom-dark: #000000;
JSON
{
  "hex": "#671a8f",
  "rgb": {
    "r": 103,
    "g": 26,
    "b": 143
  },
  "hsl": {
    "h": 279.487,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40619,
    "c": 0.17994,
    "h": 310.4
  },
  "luminance": 0.05606
}

Semantic roles & 50–950 ramp

primary
#671A8F
secondary
#6FBF46
accent
#EC3C78
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #671A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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