#672766#672766

#672766 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.1% C 0.124 H 328.2°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#672766
RGBrgb(103, 39, 102)
HSLhsl(301, 45%, 28%)
HSVhsv(301, 62%, 40%)
CMYKcmyk(0%, 62.1%, 1%, 59.6%)
CIE-LABlab(27.56, 37.73, -23.71)
CIE-LCHlch(27.56, 44.57, 327.86°)
OKLaboklab(39.14% 0.1055 -0.0653)
OKLCHoklch(39.14% 0.124 328.2)
XYZxyz(8.7172, 5.2945, 13.1306)
Luminance0.0529 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672766 #276728
analogous
#482767 #672766 #672746
triadic
#672766 #666727 #276667
tetradic
#672766 #674827 #276728 #274667
square
#672766 #674827 #276728 #274667
split-complementary
#672766 #466727 #276748
monochromatic
#160816 #3B163A #672766 #933892 #BC4DBA

Accessibility & contrast

On white

10.20
#672766 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#672766 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672766
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672766#FFFFFF#000000##FFFFFF
##6727661.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203C68
Deuteranopia (green-blind)
#364464
Tritanopia (blue-blind)
#6A2E42
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #672766;
/* rgb */ color: rgb(103, 39, 102);
/* oklch */ color: oklch(39.1% 0.124 328.2);
Tailwind
colors: {
  custom: {
    50: '#956692',
    500: '#672766',
    950: '#000000',
  },
}
SCSS
$custom: #672766;
$custom-light: #956692;
$custom-dark: #000000;
JSON
{
  "hex": "#672766",
  "rgb": {
    "r": 103,
    "g": 39,
    "b": 102
  },
  "hsl": {
    "h": 300.938,
    "s": 45.07,
    "l": 27.843
  },
  "oklch": {
    "l": 0.39141,
    "c": 0.12407,
    "h": 328.2
  },
  "luminance": 0.05294
}

Semantic roles & 50–950 ramp

primary
#672766
secondary
#509A51
accent
#D55553
background
#F9F6F9
surface
#F2EBF1
border
#CCC6CB
text
#0D060D
muted
#7E7A7E

Preview Lab

Preview with #672766

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

Preview Lab → · Contrast checker → · Palette generator →

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