#672399#672399

#672399 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.3% C 0.181 H 306.1°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#672399
RGBrgb(103, 35, 153)
HSLhsl(275, 63%, 37%)
HSVhsv(275, 77%, 60%)
CMYKcmyk(32.7%, 77.1%, 0%, 40%)
CIE-LABlab(30.37, 50.59, -51.26)
CIE-LCHlch(30.37, 72.01, 314.62°)
OKLaboklab(42.25% 0.1065 -0.1458)
OKLCHoklch(42.25% 0.181 306.1)
XYZxyz(11.9431, 6.3856, 30.7342)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672399 #559923
analogous
#2C2399 #672399 #992390
triadic
#672399 #996723 #239967
tetradic
#672399 #992C23 #559923 #239099
square
#672399 #992C23 #559923 #239099
split-complementary
#672399 #909923 #23992C
monochromatic
#240C35 #451867 #672399 #892ECB #A55DDA

Accessibility & contrast

On white

9.22
#672399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #672399
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672399#FFFFFF#000000##FFFFFF
##6723991.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#004897
Tritanopia (blue-blind)
#5E405D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #672399;
/* rgb */ color: rgb(103, 35, 153);
/* oklch */ color: oklch(42.3% 0.181 306.1);
Tailwind
colors: {
  custom: {
    50: '#9766b8',
    500: '#672399',
    950: '#000000',
  },
}
SCSS
$custom: #672399;
$custom-light: #9766b8;
$custom-dark: #000000;
JSON
{
  "hex": "#672399",
  "rgb": {
    "r": 103,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 274.576,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4225,
    "c": 0.18054,
    "h": 306.1
  },
  "luminance": 0.06386
}

Semantic roles & 50–950 ramp

primary
#672399
secondary
#84BE59
accent
#E64287
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #672399

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

Preview Lab → · Contrast checker → · Palette generator →

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