#672AA0#672AA0

#672AA0 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.6% C 0.180 H 303.1°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#672AA0
RGBrgb(103, 42, 160)
HSLhsl(271, 58%, 40%)
HSVhsv(271, 74%, 63%)
CMYKcmyk(35.6%, 73.8%, 0%, 37.3%)
CIE-LABlab(31.98, 49.23, -52.88)
CIE-LCHlch(31.98, 72.25, 312.95°)
OKLaboklab(43.57% 0.0983 -0.1506)
OKLCHoklch(43.57% 0.18 303.1)
XYZxyz(12.7652, 7.0776, 33.9445)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672AA0 #63A02A
analogous
#2C2AA0 #672AA0 #A02A9E
triadic
#672AA0 #A0672A #2AA067
tetradic
#672AA0 #A02C2A #63A02A #2A9EA0
square
#672AA0 #A02C2A #63A02A #2A9EA0
split-complementary
#672AA0 #9EA02A #2AA02C
monochromatic
#29113F #481D70 #672AA0 #863CCC #A46CD8

Accessibility & contrast

On white

8.69
#672AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#672AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672AA0
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672AA0#FFFFFF#000000##FFFFFF
##672AA01.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA3
Deuteranopia (green-blind)
#004B9E
Tritanopia (blue-blind)
#5B4763
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #672aa0;
/* rgb */ color: rgb(103, 42, 160);
/* oklch */ color: oklch(43.6% 0.180 303.1);
Tailwind
colors: {
  custom: {
    50: '#9869bd',
    500: '#672aa0',
    950: '#000000',
  },
}
SCSS
$custom: #672aa0;
$custom-light: #9869bd;
$custom-dark: #000000;
JSON
{
  "hex": "#672aa0",
  "rgb": {
    "r": 103,
    "g": 42,
    "b": 160
  },
  "hsl": {
    "h": 271.017,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43566,
    "c": 0.17988,
    "h": 303.1
  },
  "luminance": 0.07078
}

Semantic roles & 50–950 ramp

primary
#672AA0
secondary
#91BF67
accent
#E24691
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #672AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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