#672CA1#672CA1

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

Color values

HEX#672CA1
RGBrgb(103, 44, 161)
HSLhsl(270, 57%, 40%)
HSVhsv(270, 73%, 63%)
CMYKcmyk(36%, 72.7%, 0%, 36.9%)
CIE-LABlab(32.39, 48.56, -52.83)
CIE-LCHlch(32.39, 71.76, 312.59°)
OKLaboklab(43.88% 0.0961 -0.1505)
OKLCHoklch(43.88% 0.179 302.6)
XYZxyz(12.9257, 7.2581, 34.4313)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672CA1 #66A12C
analogous
#2C2CA1 #672CA1 #A12CA1
triadic
#672CA1 #A1672C #2CA167
tetradic
#672CA1 #A12C2C #66A12C #2CA1A1
square
#672CA1 #A12C2C #66A12C #2CA1A1
split-complementary
#672CA1 #A1A12C #2CA12C
monochromatic
#2A1241 #481F71 #672CA1 #8640CB #A470D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##672CA1#FFFFFF#000000##FFFFFF
##672CA11.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)
#004BA4
Deuteranopia (green-blind)
#004C9F
Tritanopia (blue-blind)
#5B4864
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #672ca1;
/* rgb */ color: rgb(103, 44, 161);
/* oklch */ color: oklch(43.9% 0.179 302.6);
Tailwind
colors: {
  custom: {
    50: '#986bbe',
    500: '#672ca1',
    950: '#000000',
  },
}
SCSS
$custom: #672ca1;
$custom-light: #986bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#672ca1",
  "rgb": {
    "r": 103,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 270.256,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43877,
    "c": 0.17857,
    "h": 302.6
  },
  "luminance": 0.07258
}

Semantic roles & 50–950 ramp

primary
#672CA1
secondary
#94BF6A
accent
#E04793
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #672CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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