#672EA8#672EA8

#672EA8 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.7% C 0.184 H 300.3°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#672EA8
RGBrgb(103, 46, 168)
HSLhsl(268, 57%, 42%)
HSVhsv(268, 73%, 66%)
CMYKcmyk(38.7%, 72.6%, 0%, 34.1%)
CIE-LABlab(33.27, 49.36, -55.61)
CIE-LCHlch(33.27, 74.36, 311.60°)
OKLaboklab(44.68% 0.0928 -0.1587)
OKLCHoklch(44.68% 0.184 300.3)
XYZxyz(13.6366, 7.6646, 37.7992)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672EA8 #6FA82E
analogous
#2E32A8 #672EA8 #A42EA8
triadic
#672EA8 #A8672E #2EA867
tetradic
#672EA8 #A82E32 #6FA82E #2EA8A4
square
#672EA8 #A82E32 #6FA82E #2EA8A4
split-complementary
#672EA8 #A8A42E #32A82E
monochromatic
#2C1448 #4A2178 #672EA8 #8547CD #A577DA

Accessibility & contrast

On white

8.29
#672EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #672EA8
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672EA8#FFFFFF#000000##FFFFFF
##672EA81.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAC
Deuteranopia (green-blind)
#004DA6
Tritanopia (blue-blind)
#584C68
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #672ea8;
/* rgb */ color: rgb(103, 46, 168);
/* oklch */ color: oklch(44.7% 0.184 300.3);
Tailwind
colors: {
  custom: {
    50: '#986cc3',
    500: '#672ea8',
    950: '#000000',
  },
}
SCSS
$custom: #672ea8;
$custom-light: #986cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#672ea8",
  "rgb": {
    "r": 103,
    "g": 46,
    "b": 168
  },
  "hsl": {
    "h": 268.033,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44679,
    "c": 0.18379,
    "h": 300.3
  },
  "luminance": 0.07665
}

Semantic roles & 50–950 ramp

primary
#672EA8
secondary
#9CC270
accent
#E04899
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #672EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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