#672EAA#672EAA

#672EAA is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.8% C 0.186 H 299.8°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#672EAA
RGBrgb(103, 46, 170)
HSLhsl(268, 57%, 42%)
HSVhsv(268, 73%, 67%)
CMYKcmyk(39.4%, 72.9%, 0%, 33.3%)
CIE-LABlab(33.43, 49.87, -56.55)
CIE-LCHlch(33.43, 75.39, 311.41°)
OKLaboklab(44.84% 0.0924 -0.1614)
OKLCHoklch(44.84% 0.186 299.8)
XYZxyz(13.8244, 7.7397, 38.7880)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672EAA #71AA2E
analogous
#2E33AA #672EAA #A52EAA
triadic
#672EAA #AA672E #2EAA67
tetradic
#672EAA #AA2E33 #71AA2E #2EAAA5
square
#672EAA #AA2E33 #71AA2E #2EAAA5
split-complementary
#672EAA #AAA52E #33AA2E
monochromatic
#2D144A #4A217A #672EAA #8548CD #A578DA

Accessibility & contrast

On white

8.24
#672EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#672EAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672EAA
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672EAA#FFFFFF#000000##FFFFFF
##672EAA1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#004EA8
Tritanopia (blue-blind)
#574D69
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #672eaa;
/* rgb */ color: rgb(103, 46, 170);
/* oklch */ color: oklch(44.8% 0.186 299.8);
Tailwind
colors: {
  custom: {
    50: '#986cc4',
    500: '#672eaa',
    950: '#000000',
  },
}
SCSS
$custom: #672eaa;
$custom-light: #986cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#672eaa",
  "rgb": {
    "r": 103,
    "g": 46,
    "b": 170
  },
  "hsl": {
    "h": 267.581,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.44843,
    "c": 0.18598,
    "h": 299.8
  },
  "luminance": 0.0774
}

Semantic roles & 50–950 ramp

primary
#672EAA
secondary
#9DC371
accent
#E1479A
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #672EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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