#672699#672699

#672699 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.6% C 0.177 H 305.8°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#672699
RGBrgb(103, 38, 153)
HSLhsl(274, 60%, 37%)
HSVhsv(274, 75%, 60%)
CMYKcmyk(32.7%, 75.2%, 0%, 40%)
CIE-LABlab(30.81, 49.32, -50.54)
CIE-LCHlch(30.81, 70.62, 314.30°)
OKLaboklab(42.56% 0.1036 -0.1437)
OKLCHoklch(42.56% 0.177 305.8)
XYZxyz(12.0351, 6.5698, 30.7649)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672699 #589926
analogous
#2E2699 #672699 #992691
triadic
#672699 #996726 #269967
tetradic
#672699 #992E26 #589926 #269199
square
#672699 #992E26 #589926 #269199
split-complementary
#672699 #919926 #26992E
monochromatic
#250E37 #461A68 #672699 #8832CA #A462D8

Accessibility & contrast

On white

9.08
#672699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#672699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672699
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672699#FFFFFF#000000##FFFFFF
##6726991.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #672699;
/* rgb */ color: rgb(103, 38, 153);
/* oklch */ color: oklch(42.6% 0.177 305.8);
Tailwind
colors: {
  custom: {
    50: '#9767b8',
    500: '#672699',
    950: '#000000',
  },
}
SCSS
$custom: #672699;
$custom-light: #9767b8;
$custom-dark: #000000;
JSON
{
  "hex": "#672699",
  "rgb": {
    "r": 103,
    "g": 38,
    "b": 153
  },
  "hsl": {
    "h": 273.913,
    "s": 60.209,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42561,
    "c": 0.17719,
    "h": 305.8
  },
  "luminance": 0.0657
}

Semantic roles & 50–950 ramp

primary
#672699
secondary
#87BD5E
accent
#E3448A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #672699

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

Preview Lab → · Contrast checker → · Palette generator →

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