#672D87#672D87

#672D87 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.0% C 0.149 H 311.3°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#672D87
RGBrgb(103, 45, 135)
HSLhsl(279, 50%, 35%)
HSVhsv(279, 67%, 53%)
CMYKcmyk(23.7%, 66.7%, 0%, 47.1%)
CIE-LABlab(30.66, 41.82, -39.68)
CIE-LCHlch(30.66, 57.65, 316.50°)
OKLaboklab(42.04% 0.0983 -0.1119)
OKLCHoklch(42.04% 0.149 311.3)
XYZxyz(10.9043, 6.5099, 23.5991)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672D87 #4D872D
analogous
#3A2D87 #672D87 #872D7A
triadic
#672D87 #87672D #2D8767
tetradic
#672D87 #873A2D #4D872D #2D7A87
square
#672D87 #873A2D #4D872D #2D7A87
split-complementary
#672D87 #7A872D #2D873A
monochromatic
#210E2B #441E59 #672D87 #8A3CB5 #A663CB

Accessibility & contrast

On white

9.12
#672D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#672D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672D87
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672D87#FFFFFF#000000##FFFFFF
##672D871.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#234985
Tritanopia (blue-blind)
#633F56
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #672d87;
/* rgb */ color: rgb(103, 45, 135);
/* oklch */ color: oklch(42.0% 0.149 311.3);
Tailwind
colors: {
  custom: {
    50: '#956aaa',
    500: '#672d87',
    950: '#000000',
  },
}
SCSS
$custom: #672d87;
$custom-light: #956aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#672d87",
  "rgb": {
    "r": 103,
    "g": 45,
    "b": 135
  },
  "hsl": {
    "h": 278.667,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42044,
    "c": 0.14889,
    "h": 311.3
  },
  "luminance": 0.0651
}

Semantic roles & 50–950 ramp

primary
#672D87
secondary
#7CB25E
accent
#DA4E80
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #672D87

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

Preview Lab → · Contrast checker → · Palette generator →

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