#672EA6#672EA6

#672EA6 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.5% C 0.182 H 300.9°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#672EA6
RGBrgb(103, 46, 166)
HSLhsl(269, 57%, 42%)
HSVhsv(269, 72%, 65%)
CMYKcmyk(38%, 72.3%, 0%, 34.9%)
CIE-LABlab(33.12, 48.86, -54.66)
CIE-LCHlch(33.12, 73.32, 311.79°)
OKLaboklab(44.52% 0.0932 -0.1559)
OKLCHoklch(44.52% 0.182 300.9)
XYZxyz(13.4518, 7.5906, 36.8254)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672EA6 #6DA62E
analogous
#2E31A6 #672EA6 #A32EA6
triadic
#672EA6 #A6672E #2EA667
tetradic
#672EA6 #A62E31 #6DA62E #2EA6A3
square
#672EA6 #A62E31 #6DA62E #2EA6A3
split-complementary
#672EA6 #A6A32E #31A62E
monochromatic
#2C1346 #492176 #672EA6 #8546CC #A576D9

Accessibility & contrast

On white

8.34
#672EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#672EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672EA6
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672EA6#FFFFFF#000000##FFFFFF
##672EA61.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA9
Deuteranopia (green-blind)
#004DA4
Tritanopia (blue-blind)
#594B67
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #672ea6;
/* rgb */ color: rgb(103, 46, 166);
/* oklch */ color: oklch(44.5% 0.182 300.9);
Tailwind
colors: {
  custom: {
    50: '#986cc1',
    500: '#672ea6',
    950: '#000000',
  },
}
SCSS
$custom: #672ea6;
$custom-light: #986cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#672ea6",
  "rgb": {
    "r": 103,
    "g": 46,
    "b": 166
  },
  "hsl": {
    "h": 268.5,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44517,
    "c": 0.18161,
    "h": 300.9
  },
  "luminance": 0.07591
}

Semantic roles & 50–950 ramp

primary
#672EA6
secondary
#9AC16F
accent
#E04898
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #672EA6

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

Preview Lab → · Contrast checker → · Palette generator →

#672EA6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva