#671274#671274

#671274 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.9% C 0.163 H 321.8°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#671274
RGBrgb(103, 18, 116)
HSLhsl(292, 73%, 26%)
HSVhsv(292, 84%, 45%)
CMYKcmyk(11.2%, 84.5%, 0%, 54.5%)
CIE-LABlab(25.50, 48.71, -36.00)
CIE-LCHlch(25.50, 60.57, 323.53°)
OKLaboklab(37.94% 0.1282 -0.1009)
OKLCHoklch(37.94% 0.163 321.8)
XYZxyz(8.9619, 4.5777, 16.9311)
Luminance0.0458 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671274 #1F7412
analogous
#361274 #671274 #741250
triadic
#671274 #746712 #127467
tetradic
#671274 #743612 #1F7412 #125074
square
#671274 #743612 #1F7412 #125074
split-complementary
#671274 #507412 #127436
monochromatic
#18041A #380A3F #671274 #961AA9 #C423DD

Accessibility & contrast

On white

10.96
#671274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671274
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671274#FFFFFF#000000##FFFFFF
##6712741.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003777
Deuteranopia (green-blind)
#213F72
Tritanopia (blue-blind)
#682844
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #671274;
/* rgb */ color: rgb(103, 18, 116);
/* oklch */ color: oklch(37.9% 0.163 321.8);
Tailwind
colors: {
  custom: {
    50: '#965d9c',
    500: '#671274',
    950: '#000000',
  },
}
SCSS
$custom: #671274;
$custom-light: #965d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#671274",
  "rgb": {
    "r": 103,
    "g": 18,
    "b": 116
  },
  "hsl": {
    "h": 292.041,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.37942,
    "c": 0.16314,
    "h": 321.8
  },
  "luminance": 0.04577
}

Semantic roles & 50–950 ramp

primary
#671274
secondary
#46AB37
accent
#F03850
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #671274

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

Preview Lab → · Contrast checker → · Palette generator →

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