#672EA1#672EA1

#672EA1 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.1% C 0.176 H 302.3°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#672EA1
RGBrgb(103, 46, 161)
HSLhsl(270, 56%, 41%)
HSVhsv(270, 71%, 63%)
CMYKcmyk(36%, 71.4%, 0%, 36.9%)
CIE-LABlab(32.72, 47.61, -52.28)
CIE-LCHlch(32.72, 70.71, 312.32°)
OKLaboklab(44.12% 0.0941 -0.1489)
OKLCHoklch(44.12% 0.176 302.3)
XYZxyz(13.0020, 7.4107, 34.4567)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672EA1 #68A12E
analogous
#2E2EA1 #672EA1 #A02EA1
triadic
#672EA1 #A1672E #2EA167
tetradic
#672EA1 #A12E2E #68A12E #2EA1A0
square
#672EA1 #A12E2E #68A12E #2EA1A0
split-complementary
#672EA1 #A1A02E #2EA12E
monochromatic
#2A1342 #492071 #672EA1 #8643C9 #A473D7

Accessibility & contrast

On white

8.46
#672EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#672EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672EA1
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672EA1#FFFFFF#000000##FFFFFF
##672EA11.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA4
Deuteranopia (green-blind)
#004D9F
Tritanopia (blue-blind)
#5B4964
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #672ea1;
/* rgb */ color: rgb(103, 46, 161);
/* oklch */ color: oklch(44.1% 0.176 302.3);
Tailwind
colors: {
  custom: {
    50: '#976cbe',
    500: '#672ea1',
    950: '#000000',
  },
}
SCSS
$custom: #672ea1;
$custom-light: #976cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#672ea1",
  "rgb": {
    "r": 103,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 269.739,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44116,
    "c": 0.17612,
    "h": 302.3
  },
  "luminance": 0.07411
}

Semantic roles & 50–950 ramp

primary
#672EA1
secondary
#96BE6C
accent
#DF4995
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #672EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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