#672099#672099

#672099 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.0% C 0.184 H 306.4°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#672099
RGBrgb(103, 32, 153)
HSLhsl(275, 65%, 36%)
HSVhsv(275, 79%, 60%)
CMYKcmyk(32.7%, 79.1%, 0%, 40%)
CIE-LABlab(29.95, 51.77, -51.93)
CIE-LCHlch(29.95, 73.33, 314.91°)
OKLaboklab(41.96% 0.1091 -0.1478)
OKLCHoklch(41.96% 0.184 306.4)
XYZxyz(11.8585, 6.2166, 30.7060)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672099 #529920
analogous
#2B2099 #672099 #99208F
triadic
#672099 #996720 #209967
tetradic
#672099 #992B20 #529920 #208F99
square
#672099 #992B20 #529920 #208F99
split-complementary
#672099 #8F9920 #20992B
monochromatic
#230B34 #451566 #672099 #892BCC #A557DC

Accessibility & contrast

On white

9.36
#672099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#672099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672099
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672099#FFFFFF#000000##FFFFFF
##6720991.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #672099;
/* rgb */ color: rgb(103, 32, 153);
/* oklch */ color: oklch(42.0% 0.184 306.4);
Tailwind
colors: {
  custom: {
    50: '#9864b8',
    500: '#672099',
    950: '#000000',
  },
}
SCSS
$custom: #672099;
$custom-light: #9864b8;
$custom-dark: #000000;
JSON
{
  "hex": "#672099",
  "rgb": {
    "r": 103,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 275.207,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41961,
    "c": 0.18369,
    "h": 306.4
  },
  "luminance": 0.06216
}

Semantic roles & 50–950 ramp

primary
#672099
secondary
#81C055
accent
#E83F85
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #672099

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

Preview Lab → · Contrast checker → · Palette generator →

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