#672AA5#672AA5

#672AA5 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.0% C 0.185 H 301.7°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#672AA5
RGBrgb(103, 42, 165)
HSLhsl(270, 59%, 41%)
HSVhsv(270, 75%, 65%)
CMYKcmyk(37.6%, 74.5%, 0%, 35.3%)
CIE-LABlab(32.38, 50.46, -55.25)
CIE-LCHlch(32.38, 74.83, 312.40°)
OKLaboklab(43.97% 0.0973 -0.1576)
OKLCHoklch(43.97% 0.185 301.7)
XYZxyz(13.2114, 7.2560, 36.2945)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672AA5 #68A52A
analogous
#2A2BA5 #672AA5 #A42AA5
triadic
#672AA5 #A5672A #2AA567
tetradic
#672AA5 #A52A2B #68A52A #2AA5A4
square
#672AA5 #A52A2B #68A52A #2AA5A4
split-complementary
#672AA5 #A5A42A #2BA52A
monochromatic
#2A1143 #491E74 #672AA5 #863ECE #A46FDA

Accessibility & contrast

On white

8.57
#672AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#672AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672AA5
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672AA5#FFFFFF#000000##FFFFFF
##672AA51.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA9
Deuteranopia (green-blind)
#004CA3
Tritanopia (blue-blind)
#5A4965
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #672aa5;
/* rgb */ color: rgb(103, 42, 165);
/* oklch */ color: oklch(44.0% 0.185 301.7);
Tailwind
colors: {
  custom: {
    50: '#986ac1',
    500: '#672aa5',
    950: '#000000',
  },
}
SCSS
$custom: #672aa5;
$custom-light: #986ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#672aa5",
  "rgb": {
    "r": 103,
    "g": 42,
    "b": 165
  },
  "hsl": {
    "h": 269.756,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43973,
    "c": 0.1852,
    "h": 301.7
  },
  "luminance": 0.07256
}

Semantic roles & 50–950 ramp

primary
#672AA5
secondary
#96C169
accent
#E34595
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #672AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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