#672C88#672C88

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

Color values

HEX#672C88
RGBrgb(103, 44, 136)
HSLhsl(278, 51%, 35%)
HSVhsv(278, 68%, 53%)
CMYKcmyk(24.3%, 67.6%, 0%, 46.7%)
CIE-LABlab(30.55, 42.55, -40.48)
CIE-LCHlch(30.55, 58.73, 316.42°)
OKLaboklab(41.99% 0.0994 -0.1142)
OKLCHoklch(41.99% 0.151 311)
XYZxyz(10.9373, 6.4628, 23.9591)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672C88 #4D882C
analogous
#392C88 #672C88 #882C7B
triadic
#672C88 #88672C #2C8867
tetradic
#672C88 #88392C #4D882C #2C7B88
square
#672C88 #88392C #4D882C #2C7B88
split-complementary
#672C88 #7B882C #2C8839
monochromatic
#210E2C #441D5A #672C88 #8A3BB6 #A662CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##672C88#FFFFFF#000000##FFFFFF
##672C881.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)
#00458B
Deuteranopia (green-blind)
#214986
Tritanopia (blue-blind)
#633F56
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #672c88;
/* rgb */ color: rgb(103, 44, 136);
/* oklch */ color: oklch(42.0% 0.151 311.0);
Tailwind
colors: {
  custom: {
    50: '#966aab',
    500: '#672c88',
    950: '#000000',
  },
}
SCSS
$custom: #672c88;
$custom-light: #966aab;
$custom-dark: #000000;
JSON
{
  "hex": "#672c88",
  "rgb": {
    "r": 103,
    "g": 44,
    "b": 136
  },
  "hsl": {
    "h": 278.478,
    "s": 51.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41985,
    "c": 0.15142,
    "h": 311
  },
  "luminance": 0.06463
}

Semantic roles & 50–950 ramp

primary
#672C88
secondary
#7CB35D
accent
#DB4D80
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #672C88

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

Preview Lab → · Contrast checker → · Palette generator →

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