#672A8E#672A8E

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

Color values

HEX#672A8E
RGBrgb(103, 42, 142)
HSLhsl(277, 54%, 36%)
HSVhsv(277, 70%, 56%)
CMYKcmyk(27.5%, 70.4%, 0%, 44.3%)
CIE-LABlab(30.62, 44.92, -44.08)
CIE-LCHlch(30.62, 62.94, 315.54°)
OKLaboklab(42.17% 0.1012 -0.1248)
OKLCHoklch(42.17% 0.161 309)
XYZxyz(11.3030, 6.4927, 26.2437)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672A8E #518E2A
analogous
#352A8E #672A8E #8E2A83
triadic
#672A8E #8E672A #2A8E67
tetradic
#672A8E #8E352A #518E2A #2A838E
square
#672A8E #8E352A #518E2A #2A838E
split-complementary
#672A8E #838E2A #2A8E35
monochromatic
#220E30 #451C5F #672A8E #8938BD #A562D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##672A8E#FFFFFF#000000##FFFFFF
##672A8E1.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)
#004691
Deuteranopia (green-blind)
#16498C
Tritanopia (blue-blind)
#614059
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #672a8e;
/* rgb */ color: rgb(103, 42, 142);
/* oklch */ color: oklch(42.2% 0.161 309.0);
Tailwind
colors: {
  custom: {
    50: '#9669b0',
    500: '#672a8e',
    950: '#000000',
  },
}
SCSS
$custom: #672a8e;
$custom-light: #9669b0;
$custom-dark: #000000;
JSON
{
  "hex": "#672a8e",
  "rgb": {
    "r": 103,
    "g": 42,
    "b": 142
  },
  "hsl": {
    "h": 276.6,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4217,
    "c": 0.16065,
    "h": 309
  },
  "luminance": 0.06492
}

Semantic roles & 50–950 ramp

primary
#672A8E
secondary
#80B65D
accent
#DE4A84
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #672A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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