#672C8B#672C8B

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

Color values

HEX#672C8B
RGBrgb(103, 44, 139)
HSLhsl(277, 52%, 36%)
HSVhsv(277, 68%, 55%)
CMYKcmyk(25.9%, 68.3%, 0%, 45.5%)
CIE-LABlab(30.76, 43.25, -42.01)
CIE-LCHlch(30.76, 60.29, 315.83°)
OKLaboklab(42.2% 0.0992 -0.1187)
OKLCHoklch(42.2% 0.155 309.9)
XYZxyz(11.1535, 6.5492, 25.0977)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672C8B #508B2C
analogous
#372C8B #672C8B #8B2C7F
triadic
#672C8B #8B672C #2C8B67
tetradic
#672C8B #8B372C #508B2C #2C7F8B
square
#672C8B #8B372C #508B2C #2C7F8B
split-complementary
#672C8B #7F8B2C #2C8B37
monochromatic
#220F2E #451D5D #672C8B #893BB9 #A664CE

Accessibility & contrast

On white

9.09
#672C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#672C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672C8B
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672C8B#FFFFFF#000000##FFFFFF
##672C8B1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #672c8b;
/* rgb */ color: rgb(103, 44, 139);
/* oklch */ color: oklch(42.2% 0.155 309.9);
Tailwind
colors: {
  custom: {
    50: '#966aad',
    500: '#672c8b',
    950: '#000000',
  },
}
SCSS
$custom: #672c8b;
$custom-light: #966aad;
$custom-dark: #000000;
JSON
{
  "hex": "#672c8b",
  "rgb": {
    "r": 103,
    "g": 44,
    "b": 139
  },
  "hsl": {
    "h": 277.263,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42199,
    "c": 0.15468,
    "h": 309.9
  },
  "luminance": 0.06549
}

Semantic roles & 50–950 ramp

primary
#672C8B
secondary
#7FB45F
accent
#DB4C83
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #672C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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