#672B8E#672B8E

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

Color values

HEX#672B8E
RGBrgb(103, 43, 142)
HSLhsl(276, 54%, 36%)
HSVhsv(276, 70%, 56%)
CMYKcmyk(27.5%, 69.7%, 0%, 44.3%)
CIE-LABlab(30.79, 44.44, -43.81)
CIE-LCHlch(30.79, 62.40, 315.41°)
OKLaboklab(42.29% 0.1001 -0.124)
OKLCHoklch(42.29% 0.159 308.9)
XYZxyz(11.3389, 6.5645, 26.2557)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672B8E #528E2B
analogous
#362B8E #672B8E #8E2B84
triadic
#672B8E #8E672B #2B8E67
tetradic
#672B8E #8E362B #528E2B #2B848E
square
#672B8E #8E362B #528E2B #2B848E
split-complementary
#672B8E #848E2B #2B8E36
monochromatic
#230F30 #451D5F #672B8E #8939BD #A563D0

Accessibility & contrast

On white

9.08
#672B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #672B8E
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672B8E#FFFFFF#000000##FFFFFF
##672B8E1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#18498C
Tritanopia (blue-blind)
#614059
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #672b8e;
/* rgb */ color: rgb(103, 43, 142);
/* oklch */ color: oklch(42.3% 0.159 308.9);
Tailwind
colors: {
  custom: {
    50: '#9669b0',
    500: '#672b8e',
    950: '#000000',
  },
}
SCSS
$custom: #672b8e;
$custom-light: #9669b0;
$custom-dark: #000000;
JSON
{
  "hex": "#672b8e",
  "rgb": {
    "r": 103,
    "g": 43,
    "b": 142
  },
  "hsl": {
    "h": 276.364,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42293,
    "c": 0.15931,
    "h": 308.9
  },
  "luminance": 0.06564
}

Semantic roles & 50–950 ramp

primary
#672B8E
secondary
#81B65F
accent
#DD4B84
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #672B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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