#672D88#672D88

#672D88 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.1% C 0.150 H 310.9°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#672D88
RGBrgb(103, 45, 136)
HSLhsl(278, 50%, 35%)
HSVhsv(278, 67%, 53%)
CMYKcmyk(24.3%, 66.9%, 0%, 46.7%)
CIE-LABlab(30.73, 42.05, -40.19)
CIE-LCHlch(30.73, 58.17, 316.29°)
OKLaboklab(42.12% 0.0982 -0.1134)
OKLCHoklch(42.12% 0.15 310.9)
XYZxyz(10.9750, 6.5382, 23.9716)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672D88 #4E882D
analogous
#3A2D88 #672D88 #882D7B
triadic
#672D88 #88672D #2D8867
tetradic
#672D88 #883A2D #4E882D #2D7B88
square
#672D88 #883A2D #4E882D #2D7B88
split-complementary
#672D88 #7B882D #2D883A
monochromatic
#210F2C #441E5A #672D88 #8A3CB6 #A664CC

Accessibility & contrast

On white

9.10
#672D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#672D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672D88
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672D88#FFFFFF#000000##FFFFFF
##672D881.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468B
Deuteranopia (green-blind)
#224986
Tritanopia (blue-blind)
#633F56
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #672d88;
/* rgb */ color: rgb(103, 45, 136);
/* oklch */ color: oklch(42.1% 0.150 310.9);
Tailwind
colors: {
  custom: {
    50: '#966aab',
    500: '#672d88',
    950: '#000000',
  },
}
SCSS
$custom: #672d88;
$custom-light: #966aab;
$custom-dark: #000000;
JSON
{
  "hex": "#672d88",
  "rgb": {
    "r": 103,
    "g": 45,
    "b": 136
  },
  "hsl": {
    "h": 278.242,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42115,
    "c": 0.14998,
    "h": 310.9
  },
  "luminance": 0.06538
}

Semantic roles & 50–950 ramp

primary
#672D88
secondary
#7DB25F
accent
#DA4E81
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #672D88

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

Preview Lab → · Contrast checker → · Palette generator →

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