#671281#671281

#671281 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.9% C 0.174 H 316.2°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#671281
RGBrgb(103, 18, 129)
HSLhsl(286, 76%, 29%)
HSVhsv(286, 86%, 51%)
CMYKcmyk(20.2%, 86%, 0%, 49.4%)
CIE-LABlab(26.45, 51.25, -42.72)
CIE-LCHlch(26.45, 66.72, 320.19°)
OKLaboklab(38.92% 0.1258 -0.1206)
OKLCHoklch(38.92% 0.174 316.2)
XYZxyz(9.7717, 4.9016, 21.1960)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671281 #2C8112
analogous
#301281 #671281 #811264
triadic
#671281 #816712 #128167
tetradic
#671281 #813012 #2C8112 #126481
square
#671281 #813012 #2C8112 #126481
split-complementary
#671281 #648112 #128130
monochromatic
#15041B #3C0B4B #671281 #9219B7 #B72CE2

Accessibility & contrast

On white

10.60
#671281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#671281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671281
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671281#FFFFFF#000000##FFFFFF
##6712811.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A84
Deuteranopia (green-blind)
#10417F
Tritanopia (blue-blind)
#652E4C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #671281;
/* rgb */ color: rgb(103, 18, 129);
/* oklch */ color: oklch(38.9% 0.174 316.2);
Tailwind
colors: {
  custom: {
    50: '#975da6',
    500: '#671281',
    950: '#000000',
  },
}
SCSS
$custom: #671281;
$custom-light: #975da6;
$custom-dark: #000000;
JSON
{
  "hex": "#671281",
  "rgb": {
    "r": 103,
    "g": 18,
    "b": 129
  },
  "hsl": {
    "h": 285.946,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38916,
    "c": 0.1743,
    "h": 316.2
  },
  "luminance": 0.04901
}

Semantic roles & 50–950 ramp

primary
#671281
secondary
#56B738
accent
#F23662
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #671281

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

Preview Lab → · Contrast checker → · Palette generator →

#671281 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva