#672D86#672D86

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

Color values

HEX#672D86
RGBrgb(103, 45, 134)
HSLhsl(279, 50%, 35%)
HSVhsv(279, 66%, 53%)
CMYKcmyk(23.1%, 66.4%, 0%, 47.5%)
CIE-LABlab(30.60, 41.58, -39.17)
CIE-LCHlch(30.60, 57.13, 316.71°)
OKLaboklab(41.97% 0.0983 -0.1104)
OKLCHoklch(41.97% 0.148 311.7)
XYZxyz(10.8342, 6.4818, 23.2300)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672D86 #4C862D
analogous
#3A2D86 #672D86 #862D79
triadic
#672D86 #86672D #2D8667
tetradic
#672D86 #863A2D #4C862D #2D7986
square
#672D86 #863A2D #4C862D #2D7986
split-complementary
#672D86 #79862D #2D863A
monochromatic
#210E2A #441E58 #672D86 #8A3CB4 #A663CB

Accessibility & contrast

On white

9.14
#672D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #672D86
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672D86#FFFFFF#000000##FFFFFF
##672D861.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004589
Deuteranopia (green-blind)
#244984
Tritanopia (blue-blind)
#633F55
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #672d86;
/* rgb */ color: rgb(103, 45, 134);
/* oklch */ color: oklch(42.0% 0.148 311.7);
Tailwind
colors: {
  custom: {
    50: '#956aaa',
    500: '#672d86',
    950: '#000000',
  },
}
SCSS
$custom: #672d86;
$custom-light: #956aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#672d86",
  "rgb": {
    "r": 103,
    "g": 45,
    "b": 134
  },
  "hsl": {
    "h": 279.101,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41974,
    "c": 0.14779,
    "h": 311.7
  },
  "luminance": 0.06482
}

Semantic roles & 50–950 ramp

primary
#672D86
secondary
#7BB15E
accent
#D94F7F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #672D86

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

Preview Lab → · Contrast checker → · Palette generator →

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