#672891#672891

#672891 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.2% C 0.166 H 308.2°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#672891
RGBrgb(103, 40, 145)
HSLhsl(276, 57%, 36%)
HSVhsv(276, 72%, 57%)
CMYKcmyk(29%, 72.4%, 0%, 43.1%)
CIE-LABlab(30.51, 46.55, -46.11)
CIE-LCHlch(30.51, 65.53, 315.27°)
OKLaboklab(42.16% 0.103 -0.1307)
OKLCHoklch(42.16% 0.166 308.2)
XYZxyz(11.4621, 6.4457, 27.4229)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672891 #529128
analogous
#332891 #672891 #912887
triadic
#672891 #916728 #289167
tetradic
#672891 #913328 #529128 #288791
square
#672891 #913328 #529128 #288791
split-complementary
#672891 #879128 #289133
monochromatic
#230E31 #451B61 #672891 #8935C1 #A560D3

Accessibility & contrast

On white

9.17
#672891 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#672891 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672891
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672891#FFFFFF#000000##FFFFFF
##6728911.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004594
Deuteranopia (green-blind)
#0C488F
Tritanopia (blue-blind)
#60405A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #672891;
/* rgb */ color: rgb(103, 40, 145);
/* oklch */ color: oklch(42.2% 0.166 308.2);
Tailwind
colors: {
  custom: {
    50: '#9668b2',
    500: '#672891',
    950: '#000000',
  },
}
SCSS
$custom: #672891;
$custom-light: #9668b2;
$custom-dark: #000000;
JSON
{
  "hex": "#672891",
  "rgb": {
    "r": 103,
    "g": 40,
    "b": 145
  },
  "hsl": {
    "h": 276,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42159,
    "c": 0.16642,
    "h": 308.2
  },
  "luminance": 0.06445
}

Semantic roles & 50–950 ramp

primary
#672891
secondary
#81B95C
accent
#E04885
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #672891

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

Preview Lab → · Contrast checker → · Palette generator →

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