#672C8E#672C8E

#672C8E is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.4% C 0.158 H 308.8°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#672C8E
RGBrgb(103, 44, 142)
HSLhsl(276, 53%, 36%)
HSVhsv(276, 69%, 56%)
CMYKcmyk(27.5%, 69%, 0%, 44.3%)
CIE-LABlab(30.97, 43.96, -43.52)
CIE-LCHlch(30.97, 61.86, 315.28°)
OKLaboklab(42.42% 0.0989 -0.1231)
OKLCHoklch(42.42% 0.158 308.8)
XYZxyz(11.3757, 6.6381, 26.2680)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672C8E #538E2C
analogous
#362C8E #672C8E #8E2C84
triadic
#672C8E #8E672C #2C8E67
tetradic
#672C8E #8E362C #538E2C #2C848E
square
#672C8E #8E362C #538E2C #2C848E
split-complementary
#672C8E #848E2C #2C8E36
monochromatic
#230F31 #451E5F #672C8E #893ABD #A565CF

Accessibility & contrast

On white

9.02
#672C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#672C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672C8E
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672C8E#FFFFFF#000000##FFFFFF
##672C8E1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#194A8C
Tritanopia (blue-blind)
#614159
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #672c8e;
/* rgb */ color: rgb(103, 44, 142);
/* oklch */ color: oklch(42.4% 0.158 308.8);
Tailwind
colors: {
  custom: {
    50: '#966ab0',
    500: '#672c8e',
    950: '#000000',
  },
}
SCSS
$custom: #672c8e;
$custom-light: #966ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#672c8e",
  "rgb": {
    "r": 103,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 276.122,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42417,
    "c": 0.15795,
    "h": 308.8
  },
  "luminance": 0.06638
}

Semantic roles & 50–950 ramp

primary
#672C8E
secondary
#82B660
accent
#DC4C85
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #672C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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