#672A8B#672A8B

#672A8B is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.9% C 0.157 H 310.2°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#672A8B
RGBrgb(103, 42, 139)
HSLhsl(278, 54%, 35%)
HSVhsv(278, 70%, 55%)
CMYKcmyk(25.9%, 69.8%, 0%, 45.5%)
CIE-LABlab(30.41, 44.22, -42.57)
CIE-LCHlch(30.41, 61.38, 316.09°)
OKLaboklab(41.95% 0.1015 -0.1203)
OKLCHoklch(41.95% 0.157 310.2)
XYZxyz(11.0808, 6.4038, 25.0734)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672A8B #4E8B2A
analogous
#362A8B #672A8B #8B2A7E
triadic
#672A8B #8B672A #2A8B67
tetradic
#672A8B #8B362A #4E8B2A #2A7E8B
square
#672A8B #8B362A #4E8B2A #2A7E8B
split-complementary
#672A8B #7E8B2A #2A8B36
monochromatic
#210E2D #441C5C #672A8B #8A38BA #A660CF

Accessibility & contrast

On white

9.21
#672A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#672A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672A8B
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672A8B#FFFFFF#000000##FFFFFF
##672A8B1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#1B4989
Tritanopia (blue-blind)
#623F57
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #672a8b;
/* rgb */ color: rgb(103, 42, 139);
/* oklch */ color: oklch(41.9% 0.157 310.2);
Tailwind
colors: {
  custom: {
    50: '#9669ad',
    500: '#672a8b',
    950: '#000000',
  },
}
SCSS
$custom: #672a8b;
$custom-light: #9669ad;
$custom-dark: #000000;
JSON
{
  "hex": "#672a8b",
  "rgb": {
    "r": 103,
    "g": 42,
    "b": 139
  },
  "hsl": {
    "h": 277.732,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41949,
    "c": 0.15744,
    "h": 310.2
  },
  "luminance": 0.06404
}

Semantic roles & 50–950 ramp

primary
#672A8B
secondary
#7DB55C
accent
#DD4B81
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #672A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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