#672899#672899

#672899 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.8% C 0.175 H 305.5°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#672899
RGBrgb(103, 40, 153)
HSLhsl(273, 59%, 38%)
HSVhsv(273, 74%, 60%)
CMYKcmyk(32.7%, 73.9%, 0%, 40%)
CIE-LABlab(31.12, 48.44, -50.03)
CIE-LCHlch(31.12, 69.64, 314.08°)
OKLaboklab(42.78% 0.1017 -0.1422)
OKLCHoklch(42.78% 0.175 305.5)
XYZxyz(12.1008, 6.7011, 30.7868)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672899 #5A9928
analogous
#2E2899 #672899 #992892
triadic
#672899 #996728 #289967
tetradic
#672899 #992E28 #5A9928 #289299
square
#672899 #992E28 #5A9928 #289299
split-complementary
#672899 #929928 #28992E
monochromatic
#260F38 #461B68 #672899 #8835CA #A465D7

Accessibility & contrast

On white

8.97
#672899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#672899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672899
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672899#FFFFFF#000000##FFFFFF
##6728991.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479C
Deuteranopia (green-blind)
#004997
Tritanopia (blue-blind)
#5E435E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #672899;
/* rgb */ color: rgb(103, 40, 153);
/* oklch */ color: oklch(42.8% 0.175 305.5);
Tailwind
colors: {
  custom: {
    50: '#9768b8',
    500: '#672899',
    950: '#000000',
  },
}
SCSS
$custom: #672899;
$custom-light: #9768b8;
$custom-dark: #000000;
JSON
{
  "hex": "#672899",
  "rgb": {
    "r": 103,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 273.451,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42781,
    "c": 0.17484,
    "h": 305.5
  },
  "luminance": 0.06701
}

Semantic roles & 50–950 ramp

primary
#672899
secondary
#89BD60
accent
#E2468B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #672899

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

Preview Lab → · Contrast checker → · Palette generator →

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