#672791#672791

#672791 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.0% C 0.168 H 308.4°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#672791
RGBrgb(103, 39, 145)
HSLhsl(276, 58%, 36%)
HSVhsv(276, 73%, 57%)
CMYKcmyk(29%, 73.1%, 0%, 43.1%)
CIE-LABlab(30.35, 47.01, -46.37)
CIE-LCHlch(30.35, 66.03, 315.39°)
OKLaboklab(42.05% 0.1041 -0.1315)
OKLCHoklch(42.05% 0.168 308.4)
XYZxyz(11.4288, 6.3791, 27.4118)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672791 #519127
analogous
#322791 #672791 #912786
triadic
#672791 #916727 #279167
tetradic
#672791 #913227 #519127 #278691
square
#672791 #913227 #519127 #278691
split-complementary
#672791 #869127 #279132
monochromatic
#220D31 #451A61 #672791 #8934C1 #A55FD4

Accessibility & contrast

On white

9.23
#672791 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#672791 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672791
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672791#FFFFFF#000000##FFFFFF
##6727911.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004594
Deuteranopia (green-blind)
#09488F
Tritanopia (blue-blind)
#603F59
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #672791;
/* rgb */ color: rgb(103, 39, 145);
/* oklch */ color: oklch(42.0% 0.168 308.4);
Tailwind
colors: {
  custom: {
    50: '#9667b2',
    500: '#672791',
    950: '#000000',
  },
}
SCSS
$custom: #672791;
$custom-light: #9667b2;
$custom-dark: #000000;
JSON
{
  "hex": "#672791",
  "rgb": {
    "r": 103,
    "g": 39,
    "b": 145
  },
  "hsl": {
    "h": 276.226,
    "s": 57.609,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42045,
    "c": 0.16768,
    "h": 308.4
  },
  "luminance": 0.06379
}

Semantic roles & 50–950 ramp

primary
#672791
secondary
#80B95B
accent
#E14784
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #672791

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

Preview Lab → · Contrast checker → · Palette generator →

#672791 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva