#672D8B#672D8B

#672D8B is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.3% C 0.153 H 309.7°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#672D8B
RGBrgb(103, 45, 139)
HSLhsl(277, 51%, 36%)
HSVhsv(277, 68%, 55%)
CMYKcmyk(25.9%, 67.6%, 0%, 45.5%)
CIE-LABlab(30.94, 42.75, -41.72)
CIE-LCHlch(30.94, 59.74, 315.70°)
OKLaboklab(42.33% 0.098 -0.1179)
OKLCHoklch(42.33% 0.153 309.7)
XYZxyz(11.1912, 6.6246, 25.1102)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672D8B #518B2D
analogous
#382D8B #672D8B #8B2D80
triadic
#672D8B #8B672D #2D8B67
tetradic
#672D8B #8B382D #518B2D #2D808B
square
#672D8B #8B382D #518B2D #2D808B
split-complementary
#672D8B #808B2D #2D8B38
monochromatic
#220F2F #451E5D #672D8B #893CB9 #A565CD

Accessibility & contrast

On white

9.03
#672D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#672D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672D8B
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672D8B#FFFFFF#000000##FFFFFF
##672D8B1.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468E
Deuteranopia (green-blind)
#1F4A89
Tritanopia (blue-blind)
#624058
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #672d8b;
/* rgb */ color: rgb(103, 45, 139);
/* oklch */ color: oklch(42.3% 0.153 309.7);
Tailwind
colors: {
  custom: {
    50: '#966aad',
    500: '#672d8b',
    950: '#000000',
  },
}
SCSS
$custom: #672d8b;
$custom-light: #966aad;
$custom-dark: #000000;
JSON
{
  "hex": "#672d8b",
  "rgb": {
    "r": 103,
    "g": 45,
    "b": 139
  },
  "hsl": {
    "h": 277.021,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42328,
    "c": 0.15327,
    "h": 309.7
  },
  "luminance": 0.06624
}

Semantic roles & 50–950 ramp

primary
#672D8B
secondary
#80B460
accent
#DB4D83
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #672D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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