#672299#672299

#672299 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.2% C 0.182 H 306.2°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#672299
RGBrgb(103, 34, 153)
HSLhsl(275, 64%, 37%)
HSVhsv(275, 78%, 60%)
CMYKcmyk(32.7%, 77.8%, 0%, 40%)
CIE-LABlab(30.22, 50.99, -51.48)
CIE-LCHlch(30.22, 72.46, 314.72°)
OKLaboklab(42.15% 0.1074 -0.1465)
OKLCHoklch(42.15% 0.182 306.2)
XYZxyz(11.9141, 6.3276, 30.7245)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672299 #549922
analogous
#2C2299 #672299 #992290
triadic
#672299 #996722 #229967
tetradic
#672299 #992C22 #549922 #229099
square
#672299 #992C22 #549922 #229099
split-complementary
#672299 #909922 #22992C
monochromatic
#240C35 #451767 #672299 #892DCB #A55BDB

Accessibility & contrast

On white

9.27
#672299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#672299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672299
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672299#FFFFFF#000000##FFFFFF
##6722991.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #672299;
/* rgb */ color: rgb(103, 34, 153);
/* oklch */ color: oklch(42.2% 0.182 306.2);
Tailwind
colors: {
  custom: {
    50: '#9765b8',
    500: '#672299',
    950: '#000000',
  },
}
SCSS
$custom: #672299;
$custom-light: #9765b8;
$custom-dark: #000000;
JSON
{
  "hex": "#672299",
  "rgb": {
    "r": 103,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 274.79,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42151,
    "c": 0.18161,
    "h": 306.2
  },
  "luminance": 0.06328
}

Semantic roles & 50–950 ramp

primary
#672299
secondary
#83BF58
accent
#E74187
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #672299

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

Preview Lab → · Contrast checker → · Palette generator →

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