#672EA7#672EA7

#672EA7 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.6% C 0.183 H 300.6°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#672EA7
RGBrgb(103, 46, 167)
HSLhsl(268, 57%, 42%)
HSVhsv(268, 72%, 65%)
CMYKcmyk(38.3%, 72.5%, 0%, 34.5%)
CIE-LABlab(33.19, 49.11, -55.14)
CIE-LCHlch(33.19, 73.84, 311.69°)
OKLaboklab(44.6% 0.093 -0.1573)
OKLCHoklch(44.6% 0.183 300.6)
XYZxyz(13.5438, 7.6275, 37.3104)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672EA7 #6EA72E
analogous
#2E32A7 #672EA7 #A42EA7
triadic
#672EA7 #A7672E #2EA767
tetradic
#672EA7 #A72E32 #6EA72E #2EA7A4
square
#672EA7 #A72E32 #6EA72E #2EA7A4
split-complementary
#672EA7 #A7A42E #32A72E
monochromatic
#2C1447 #492177 #672EA7 #8546CC #A576D9

Accessibility & contrast

On white

8.31
#672EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#672EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672EA7
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672EA7#FFFFFF#000000##FFFFFF
##672EA71.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAB
Deuteranopia (green-blind)
#004DA5
Tritanopia (blue-blind)
#594C67
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #672ea7;
/* rgb */ color: rgb(103, 46, 167);
/* oklch */ color: oklch(44.6% 0.183 300.6);
Tailwind
colors: {
  custom: {
    50: '#986cc2',
    500: '#672ea7',
    950: '#000000',
  },
}
SCSS
$custom: #672ea7;
$custom-light: #986cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#672ea7",
  "rgb": {
    "r": 103,
    "g": 46,
    "b": 167
  },
  "hsl": {
    "h": 268.264,
    "s": 56.808,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44598,
    "c": 0.18271,
    "h": 300.6
  },
  "luminance": 0.07628
}

Semantic roles & 50–950 ramp

primary
#672EA7
secondary
#9BC170
accent
#E04898
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #672EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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