#672A7E#672A7E

#672A7E is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.0% C 0.144 H 315.5°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#672A7E
RGBrgb(103, 42, 126)
HSLhsl(284, 50%, 33%)
HSVhsv(284, 67%, 49%)
CMYKcmyk(18.3%, 66.7%, 0%, 50.6%)
CIE-LABlab(29.53, 41.26, -35.88)
CIE-LCHlch(29.53, 54.68, 318.99°)
OKLaboklab(41.04% 0.1024 -0.1007)
OKLCHoklch(41.04% 0.144 315.5)
XYZxyz(10.1868, 6.0462, 20.3650)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672A7E #417E2A
analogous
#3D2A7E #672A7E #7E2A6B
triadic
#672A7E #7E672A #2A7E67
tetradic
#672A7E #7E3D2A #417E2A #2A6B7E
square
#672A7E #7E3D2A #417E2A #2A6B7E
split-complementary
#672A7E #6B7E2A #2A7E3D
monochromatic
#1C0B22 #411B50 #672A7E #8D39AC #AA5AC8

Accessibility & contrast

On white

9.51
#672A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#672A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672A7E
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672A7E#FFFFFF#000000##FFFFFF
##672A7E1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084281
Deuteranopia (green-blind)
#29477C
Tritanopia (blue-blind)
#653A50
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #672a7e;
/* rgb */ color: rgb(103, 42, 126);
/* oklch */ color: oklch(41.0% 0.144 315.5);
Tailwind
colors: {
  custom: {
    50: '#9568a4',
    500: '#672a7e',
    950: '#000000',
  },
}
SCSS
$custom: #672a7e;
$custom-light: #9568a4;
$custom-dark: #000000;
JSON
{
  "hex": "#672a7e",
  "rgb": {
    "r": 103,
    "g": 42,
    "b": 126
  },
  "hsl": {
    "h": 283.571,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41035,
    "c": 0.14362,
    "h": 315.5
  },
  "luminance": 0.06046
}

Semantic roles & 50–950 ramp

primary
#672A7E
secondary
#6EAE56
accent
#DA4E74
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #672A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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