#671272#671272

#671272 is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.8% C 0.161 H 322.7°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#671272
RGBrgb(103, 18, 114)
HSLhsl(293, 73%, 26%)
HSVhsv(293, 84%, 45%)
CMYKcmyk(9.6%, 84.2%, 0%, 55.3%)
CIE-LABlab(25.36, 48.34, -34.95)
CIE-LCHlch(25.36, 59.65, 324.13°)
OKLaboklab(37.8% 0.1285 -0.0978)
OKLCHoklch(37.8% 0.161 322.7)
XYZxyz(8.8468, 4.5316, 16.3250)
Luminance0.0453 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671272 #1D7212
analogous
#371272 #671272 #72124D
triadic
#671272 #726712 #127267
tetradic
#671272 #723712 #1D7212 #124D72
square
#671272 #723712 #1D7212 #124D72
split-complementary
#671272 #4D7212 #127237
monochromatic
#18041A #370A3D #671272 #971AA7 #C723DC

Accessibility & contrast

On white

11.02
#671272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#671272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671272
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671272#FFFFFF#000000##FFFFFF
##6712721.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003674
Deuteranopia (green-blind)
#233F70
Tritanopia (blue-blind)
#682643
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #671272;
/* rgb */ color: rgb(103, 18, 114);
/* oklch */ color: oklch(37.8% 0.161 322.7);
Tailwind
colors: {
  custom: {
    50: '#965d9b',
    500: '#671272',
    950: '#000000',
  },
}
SCSS
$custom: #671272;
$custom-light: #965d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#671272",
  "rgb": {
    "r": 103,
    "g": 18,
    "b": 114
  },
  "hsl": {
    "h": 293.125,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.37799,
    "c": 0.16145,
    "h": 322.7
  },
  "luminance": 0.04531
}

Semantic roles & 50–950 ramp

primary
#671272
secondary
#44A937
accent
#EF384D
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #671272

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

Preview Lab → · Contrast checker → · Palette generator →

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