#671982#671982

#671982 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.5% C 0.169 H 315.4°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#671982
RGBrgb(103, 25, 130)
HSLhsl(285, 68%, 30%)
HSVhsv(285, 81%, 51%)
CMYKcmyk(20.8%, 80.8%, 0%, 49%)
CIE-LABlab(27.27, 49.29, -42.02)
CIE-LCHlch(27.27, 64.77, 319.55°)
OKLaboklab(39.51% 0.1202 -0.1186)
OKLCHoklch(39.51% 0.169 315.4)
XYZxyz(9.9698, 5.1909, 21.5915)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671982 #348219
analogous
#321982 #671982 #821969
triadic
#671982 #826719 #198267
tetradic
#671982 #823219 #348219 #196982
square
#671982 #823219 #348219 #196982
split-complementary
#671982 #698219 #198232
monochromatic
#16051B #3E0F4F #671982 #9023B5 #B13CD9

Accessibility & contrast

On white

10.30
#671982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#671982 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671982
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671982#FFFFFF#000000##FFFFFF
##6719821.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C85
Deuteranopia (green-blind)
#154280
Tritanopia (blue-blind)
#65324E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #671982;
/* rgb */ color: rgb(103, 25, 130);
/* oklch */ color: oklch(39.5% 0.169 315.4);
Tailwind
colors: {
  custom: {
    50: '#9660a7',
    500: '#671982',
    950: '#000000',
  },
}
SCSS
$custom: #671982;
$custom-light: #9660a7;
$custom-dark: #000000;
JSON
{
  "hex": "#671982",
  "rgb": {
    "r": 103,
    "g": 25,
    "b": 130
  },
  "hsl": {
    "h": 284.571,
    "s": 67.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39514,
    "c": 0.16887,
    "h": 315.4
  },
  "luminance": 0.05191
}

Semantic roles & 50–950 ramp

primary
#671982
secondary
#5FB641
accent
#EB3D6A
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #671982

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

Preview Lab → · Contrast checker → · Palette generator →

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