#671988#671988

#671988 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.0% C 0.174 H 313.0°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#671988
RGBrgb(103, 25, 136)
HSLhsl(282, 69%, 32%)
HSVhsv(282, 82%, 53%)
CMYKcmyk(24.3%, 81.6%, 0%, 46.7%)
CIE-LABlab(27.73, 50.55, -45.04)
CIE-LCHlch(27.73, 67.70, 318.30°)
OKLaboklab(39.98% 0.119 -0.1275)
OKLCHoklch(39.98% 0.174 313)
XYZxyz(10.3843, 5.3567, 23.7747)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671988 #3A8819
analogous
#301988 #671988 #881972
triadic
#671988 #886719 #198867
tetradic
#671988 #883019 #3A8819 #197288
square
#671988 #883019 #3A8819 #197288
split-complementary
#671988 #728819 #198830
monochromatic
#190621 #400F54 #671988 #8E23BC #AD40DC

Accessibility & contrast

On white

10.14
#671988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#671988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671988
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671988#FFFFFF#000000##FFFFFF
##6719881.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8B
Deuteranopia (green-blind)
#074386
Tritanopia (blue-blind)
#633451
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #671988;
/* rgb */ color: rgb(103, 25, 136);
/* oklch */ color: oklch(40.0% 0.174 313.0);
Tailwind
colors: {
  custom: {
    50: '#9760ab',
    500: '#671988',
    950: '#000000',
  },
}
SCSS
$custom: #671988;
$custom-light: #9760ab;
$custom-dark: #000000;
JSON
{
  "hex": "#671988",
  "rgb": {
    "r": 103,
    "g": 25,
    "b": 136
  },
  "hsl": {
    "h": 282.162,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39978,
    "c": 0.17438,
    "h": 313
  },
  "luminance": 0.05356
}

Semantic roles & 50–950 ramp

primary
#671988
secondary
#66BB41
accent
#EC3C70
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #671988

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

Preview Lab → · Contrast checker → · Palette generator →

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