#672E82#672E82

#672E82 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 41.8% C 0.142 H 313.2°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#672E82
RGBrgb(103, 46, 130)
HSLhsl(281, 48%, 35%)
HSVhsv(281, 65%, 51%)
CMYKcmyk(20.8%, 64.6%, 0%, 49%)
CIE-LABlab(30.52, 40.15, -36.80)
CIE-LCHlch(30.52, 54.46, 317.49°)
OKLaboklab(41.83% 0.0972 -0.1034)
OKLCHoklch(41.83% 0.142 313.2)
XYZxyz(10.5991, 6.4496, 21.8013)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672E82 #49822E
analogous
#3D2E82 #672E82 #822E73
triadic
#672E82 #82672E #2E8267
tetradic
#672E82 #823D2E #49822E #2E7382
square
#672E82 #823D2E #49822E #2E7382
split-complementary
#672E82 #73822E #2E823D
monochromatic
#1F0E28 #431E55 #672E82 #8B3EAF #A763C8

Accessibility & contrast

On white

9.17
#672E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#672E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672E82
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672E82#FFFFFF#000000##FFFFFF
##672E821.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4585
Deuteranopia (green-blind)
#294980
Tritanopia (blue-blind)
#643E53
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #672e82;
/* rgb */ color: rgb(103, 46, 130);
/* oklch */ color: oklch(41.8% 0.142 313.2);
Tailwind
colors: {
  custom: {
    50: '#956aa7',
    500: '#672e82',
    950: '#000000',
  },
}
SCSS
$custom: #672e82;
$custom-light: #956aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#672e82",
  "rgb": {
    "r": 103,
    "g": 46,
    "b": 130
  },
  "hsl": {
    "h": 280.714,
    "s": 47.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41834,
    "c": 0.14191,
    "h": 313.2
  },
  "luminance": 0.06449
}

Semantic roles & 50–950 ramp

primary
#672E82
secondary
#77AE5D
accent
#D7507C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #672E82

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

Preview Lab → · Contrast checker → · Palette generator →

#672E82 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva