#672A88#672A88

#672A88 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.7% C 0.154 H 311.3°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#672A88
RGBrgb(103, 42, 136)
HSLhsl(279, 53%, 35%)
HSVhsv(279, 69%, 53%)
CMYKcmyk(24.3%, 69.1%, 0%, 46.7%)
CIE-LABlab(30.20, 43.52, -41.05)
CIE-LCHlch(30.20, 59.83, 316.68°)
OKLaboklab(41.73% 0.1018 -0.1159)
OKLCHoklch(41.73% 0.154 311.3)
XYZxyz(10.8646, 6.3173, 23.9348)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672A88 #4B882A
analogous
#382A88 #672A88 #882A7A
triadic
#672A88 #88672A #2A8867
tetradic
#672A88 #88382A #4B882A #2A7A88
square
#672A88 #88382A #4B882A #2A7A88
split-complementary
#672A88 #7A882A #2A8838
monochromatic
#200D2A #441C59 #672A88 #8A38B7 #A75FCE

Accessibility & contrast

On white

9.28
#672A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#672A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672A88
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672A88#FFFFFF#000000##FFFFFF
##672A881.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448B
Deuteranopia (green-blind)
#1F4886
Tritanopia (blue-blind)
#633D55
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #672a88;
/* rgb */ color: rgb(103, 42, 136);
/* oklch */ color: oklch(41.7% 0.154 311.3);
Tailwind
colors: {
  custom: {
    50: '#9668ab',
    500: '#672a88',
    950: '#000000',
  },
}
SCSS
$custom: #672a88;
$custom-light: #9668ab;
$custom-dark: #000000;
JSON
{
  "hex": "#672a88",
  "rgb": {
    "r": 103,
    "g": 42,
    "b": 136
  },
  "hsl": {
    "h": 278.936,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41732,
    "c": 0.15424,
    "h": 311.3
  },
  "luminance": 0.06317
}

Semantic roles & 50–950 ramp

primary
#672A88
secondary
#7AB35B
accent
#DC4C7E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #672A88

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

Preview Lab → · Contrast checker → · Palette generator →

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