#672C8C#672C8C

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

Color values

HEX#672C8C
RGBrgb(103, 44, 140)
HSLhsl(277, 52%, 36%)
HSVhsv(277, 69%, 55%)
CMYKcmyk(26.4%, 68.6%, 0%, 45.1%)
CIE-LABlab(30.83, 43.48, -42.52)
CIE-LCHlch(30.83, 60.81, 315.64°)
OKLaboklab(42.27% 0.0991 -0.1202)
OKLCHoklch(42.27% 0.156 309.5)
XYZxyz(11.2269, 6.5786, 25.4842)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672C8C #518C2C
analogous
#372C8C #672C8C #8C2C81
triadic
#672C8C #8C672C #2C8C67
tetradic
#672C8C #8C372C #518C2C #2C818C
square
#672C8C #8C372C #518C2C #2C818C
split-complementary
#672C8C #818C2C #2C8C37
monochromatic
#220F2F #451D5D #672C8C #893BBB #A564CE

Accessibility & contrast

On white

9.07
#672C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #672C8C
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672C8C#FFFFFF#000000##FFFFFF
##672C8C1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #672c8c;
/* rgb */ color: rgb(103, 44, 140);
/* oklch */ color: oklch(42.3% 0.156 309.5);
Tailwind
colors: {
  custom: {
    50: '#966aae',
    500: '#672c8c',
    950: '#000000',
  },
}
SCSS
$custom: #672c8c;
$custom-light: #966aae;
$custom-dark: #000000;
JSON
{
  "hex": "#672c8c",
  "rgb": {
    "r": 103,
    "g": 44,
    "b": 140
  },
  "hsl": {
    "h": 276.875,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42272,
    "c": 0.15577,
    "h": 309.5
  },
  "luminance": 0.06578
}

Semantic roles & 50–950 ramp

primary
#672C8C
secondary
#80B55F
accent
#DC4C83
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #672C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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