#672199#672199

#672199 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.1% C 0.183 H 306.3°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#672199
RGBrgb(103, 33, 153)
HSLhsl(275, 65%, 36%)
HSVhsv(275, 78%, 60%)
CMYKcmyk(32.7%, 78.4%, 0%, 40%)
CIE-LABlab(30.09, 51.38, -51.71)
CIE-LCHlch(30.09, 72.90, 314.82°)
OKLaboklab(42.06% 0.1083 -0.1471)
OKLCHoklch(42.06% 0.183 306.3)
XYZxyz(11.8859, 6.2713, 30.7151)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672199 #539921
analogous
#2B2199 #672199 #99218F
triadic
#672199 #996721 #219967
tetradic
#672199 #992B21 #539921 #218F99
square
#672199 #992B21 #539921 #218F99
split-complementary
#672199 #8F9921 #21992B
monochromatic
#230B34 #451667 #672199 #892CCB #A559DB

Accessibility & contrast

On white

9.32
#672199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#672199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672199
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672199#FFFFFF#000000##FFFFFF
##6721991.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #672199;
/* rgb */ color: rgb(103, 33, 153);
/* oklch */ color: oklch(42.1% 0.183 306.3);
Tailwind
colors: {
  custom: {
    50: '#9765b8',
    500: '#672199',
    950: '#000000',
  },
}
SCSS
$custom: #672199;
$custom-light: #9765b8;
$custom-dark: #000000;
JSON
{
  "hex": "#672199",
  "rgb": {
    "r": 103,
    "g": 33,
    "b": 153
  },
  "hsl": {
    "h": 275,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42055,
    "c": 0.18266,
    "h": 306.3
  },
  "luminance": 0.06271
}

Semantic roles & 50–950 ramp

primary
#672199
secondary
#82BF56
accent
#E84086
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #672199

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

Preview Lab → · Contrast checker → · Palette generator →

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