#672A8D#672A8D

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

Color values

HEX#672A8D
RGBrgb(103, 42, 141)
HSLhsl(277, 54%, 36%)
HSVhsv(277, 70%, 55%)
CMYKcmyk(27%, 70.2%, 0%, 44.7%)
CIE-LABlab(30.55, 44.68, -43.58)
CIE-LCHlch(30.55, 62.42, 315.72°)
OKLaboklab(42.1% 0.1013 -0.1233)
OKLCHoklch(42.1% 0.16 309.4)
XYZxyz(11.2282, 6.4628, 25.8501)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672A8D #508D2A
analogous
#362A8D #672A8D #8D2A81
triadic
#672A8D #8D672A #2A8D67
tetradic
#672A8D #8D362A #508D2A #2A818D
square
#672A8D #8D362A #508D2A #2A818D
split-complementary
#672A8D #818D2A #2A8D36
monochromatic
#220E2F #451C5E #672A8D #8938BC #A661D0

Accessibility & contrast

On white

9.16
#672A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#672A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672A8D
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672A8D#FFFFFF#000000##FFFFFF
##672A8D1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#18498B
Tritanopia (blue-blind)
#623F58
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #672a8d;
/* rgb */ color: rgb(103, 42, 141);
/* oklch */ color: oklch(42.1% 0.160 309.4);
Tailwind
colors: {
  custom: {
    50: '#9669af',
    500: '#672a8d',
    950: '#000000',
  },
}
SCSS
$custom: #672a8d;
$custom-light: #9669af;
$custom-dark: #000000;
JSON
{
  "hex": "#672a8d",
  "rgb": {
    "r": 103,
    "g": 42,
    "b": 141
  },
  "hsl": {
    "h": 276.97,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42096,
    "c": 0.15958,
    "h": 309.4
  },
  "luminance": 0.06463
}

Semantic roles & 50–950 ramp

primary
#672A8D
secondary
#7FB65D
accent
#DD4A83
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #672A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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