#671A8C#671A8C

#671A8C is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.4% C 0.177 H 311.5°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#671A8C
RGBrgb(103, 26, 140)
HSLhsl(281, 69%, 33%)
HSVhsv(281, 81%, 55%)
CMYKcmyk(26.4%, 81.4%, 0%, 45.1%)
CIE-LABlab(28.16, 51.06, -46.83)
CIE-LCHlch(28.16, 69.29, 317.47°)
OKLaboklab(40.38% 0.1173 -0.1327)
OKLCHoklch(40.38% 0.177 311.5)
XYZxyz(10.6956, 5.5161, 25.3071)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671A8C #3F8C1A
analogous
#2E1A8C #671A8C #8C1A78
triadic
#671A8C #8C671A #1A8C67
tetradic
#671A8C #8C2E1A #3F8C1A #1A788C
square
#671A8C #8C2E1A #3F8C1A #1A788C
split-complementary
#671A8C #788C1A #1A8C2E
monochromatic
#1B0725 #411058 #671A8C #8D24C0 #AB44DC

Accessibility & contrast

On white

9.98
#671A8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#671A8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671A8C
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671A8C#FFFFFF#000000##FFFFFF
##671A8C1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8F
Deuteranopia (green-blind)
#00448A
Tritanopia (blue-blind)
#623753
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #671a8c;
/* rgb */ color: rgb(103, 26, 140);
/* oklch */ color: oklch(40.4% 0.177 311.5);
Tailwind
colors: {
  custom: {
    50: '#9761ae',
    500: '#671a8c',
    950: '#000000',
  },
}
SCSS
$custom: #671a8c;
$custom-light: #9761ae;
$custom-dark: #000000;
JSON
{
  "hex": "#671a8c",
  "rgb": {
    "r": 103,
    "g": 26,
    "b": 140
  },
  "hsl": {
    "h": 280.526,
    "s": 68.675,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40377,
    "c": 0.17714,
    "h": 311.5
  },
  "luminance": 0.05516
}

Semantic roles & 50–950 ramp

primary
#671A8C
secondary
#6CBE44
accent
#EC3C75
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #671A8C

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

Preview Lab → · Contrast checker → · Palette generator →

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