#671276#671276

#671276 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 38.1% C 0.165 H 320.9°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#671276
RGBrgb(103, 18, 118)
HSLhsl(291, 74%, 27%)
HSVhsv(291, 85%, 46%)
CMYKcmyk(12.7%, 84.7%, 0%, 53.7%)
CIE-LABlab(25.64, 49.09, -37.06)
CIE-LCHlch(25.64, 61.51, 322.95°)
OKLaboklab(38.09% 0.1279 -0.104)
OKLCHoklch(38.09% 0.165 320.9)
XYZxyz(9.0795, 4.6247, 17.5504)
Luminance0.0462 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671276 #217612
analogous
#351276 #671276 #761253
triadic
#671276 #766712 #127667
tetradic
#671276 #763512 #217612 #125376
square
#671276 #763512 #217612 #125376
split-complementary
#671276 #537612 #127635
monochromatic
#17041B #390A41 #671276 #951AAB #C225DE

Accessibility & contrast

On white

10.91
#671276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#671276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671276
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671276#FFFFFF#000000##FFFFFF
##6712761.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003779
Deuteranopia (green-blind)
#1F4074
Tritanopia (blue-blind)
#682945
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #671276;
/* rgb */ color: rgb(103, 18, 118);
/* oklch */ color: oklch(38.1% 0.165 320.9);
Tailwind
colors: {
  custom: {
    50: '#965d9e',
    500: '#671276',
    950: '#000000',
  },
}
SCSS
$custom: #671276;
$custom-light: #965d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#671276",
  "rgb": {
    "r": 103,
    "g": 18,
    "b": 118
  },
  "hsl": {
    "h": 291,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.38086,
    "c": 0.16484,
    "h": 320.9
  },
  "luminance": 0.04624
}

Semantic roles & 50–950 ramp

primary
#671276
secondary
#49AD37
accent
#F03853
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #671276

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

Preview Lab → · Contrast checker → · Palette generator →

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