#672491#672491

#672491 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.7% C 0.171 H 308.7°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#672491
RGBrgb(103, 36, 145)
HSLhsl(277, 60%, 35%)
HSVhsv(277, 75%, 57%)
CMYKcmyk(29%, 75.2%, 0%, 43.1%)
CIE-LABlab(29.89, 48.32, -47.12)
CIE-LCHlch(29.89, 67.49, 315.72°)
OKLaboklab(41.72% 0.1071 -0.1337)
OKLCHoklch(41.72% 0.171 308.7)
XYZxyz(11.3342, 6.1898, 27.3803)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672491 #4E9124
analogous
#312491 #672491 #912484
triadic
#672491 #916724 #249167
tetradic
#672491 #913124 #4E9124 #248491
square
#672491 #913124 #4E9124 #248491
split-complementary
#672491 #849124 #249131
monochromatic
#210C2F #441860 #672491 #8A30C2 #A659D6

Accessibility & contrast

On white

9.38
#672491 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#672491 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672491
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672491#FFFFFF#000000##FFFFFF
##6724911.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004494
Deuteranopia (green-blind)
#02478F
Tritanopia (blue-blind)
#613E59
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #672491;
/* rgb */ color: rgb(103, 36, 145);
/* oklch */ color: oklch(41.7% 0.171 308.7);
Tailwind
colors: {
  custom: {
    50: '#9766b2',
    500: '#672491',
    950: '#000000',
  },
}
SCSS
$custom: #672491;
$custom-light: #9766b2;
$custom-dark: #000000;
JSON
{
  "hex": "#672491",
  "rgb": {
    "r": 103,
    "g": 36,
    "b": 145
  },
  "hsl": {
    "h": 276.881,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41716,
    "c": 0.1713,
    "h": 308.7
  },
  "luminance": 0.0619
}

Semantic roles & 50–950 ramp

primary
#672491
secondary
#7DBA56
accent
#E34482
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #672491

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

Preview Lab → · Contrast checker → · Palette generator →

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