#672181#672181

#672181 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.2% C 0.159 H 315.1°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#672181
RGBrgb(103, 33, 129)
HSLhsl(284, 59%, 32%)
HSVhsv(284, 74%, 51%)
CMYKcmyk(20.2%, 74.4%, 0%, 49.4%)
CIE-LABlab(28.27, 46.02, -39.79)
CIE-LCHlch(28.27, 60.84, 319.15°)
OKLaboklab(40.19% 0.1127 -0.1121)
OKLCHoklch(40.19% 0.159 315.1)
XYZxyz(10.0992, 5.5566, 21.3052)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672181 #3B8121
analogous
#372181 #672181 #81216B
triadic
#672181 #816721 #218167
tetradic
#672181 #813721 #3B8121 #216B81
square
#672181 #813721 #3B8121 #216B81
split-complementary
#672181 #6B8121 #218137
monochromatic
#190820 #401550 #672181 #8E2DB2 #AD4BD1

Accessibility & contrast

On white

9.95
#672181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#672181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672181
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672181#FFFFFF#000000##FFFFFF
##6721811.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F84
Deuteranopia (green-blind)
#1E447F
Tritanopia (blue-blind)
#65354F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #672181;
/* rgb */ color: rgb(103, 33, 129);
/* oklch */ color: oklch(40.2% 0.159 315.1);
Tailwind
colors: {
  custom: {
    50: '#9663a6',
    500: '#672181',
    950: '#000000',
  },
}
SCSS
$custom: #672181;
$custom-light: #9663a6;
$custom-dark: #000000;
JSON
{
  "hex": "#672181",
  "rgb": {
    "r": 103,
    "g": 33,
    "b": 129
  },
  "hsl": {
    "h": 283.75,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40194,
    "c": 0.15894,
    "h": 315.1
  },
  "luminance": 0.05556
}

Semantic roles & 50–950 ramp

primary
#672181
secondary
#67B44A
accent
#E24570
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #672181

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

Preview Lab → · Contrast checker → · Palette generator →

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