#672E9B#672E9B

#672E9B is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.6% C 0.170 H 304.1°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#672E9B
RGBrgb(103, 46, 155)
HSLhsl(271, 54%, 39%)
HSVhsv(271, 70%, 61%)
CMYKcmyk(33.5%, 70.3%, 0%, 39.2%)
CIE-LABlab(32.27, 46.12, -49.39)
CIE-LCHlch(32.27, 67.57, 313.04°)
OKLaboklab(43.65% 0.095 -0.1404)
OKLCHoklch(43.65% 0.17 304.1)
XYZxyz(12.4856, 7.2042, 31.7368)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672E9B #629B2E
analogous
#302E9B #672E9B #9B2E99
triadic
#672E9B #9B672E #2E9B67
tetradic
#672E9B #9B302E #629B2E #2E999B
square
#672E9B #9B302E #629B2E #2E999B
split-complementary
#672E9B #999B2E #2E9B30
monochromatic
#28123D #48206C #672E9B #8640C6 #A46FD4

Accessibility & contrast

On white

8.60
#672E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#672E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672E9B
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672E9B#FFFFFF#000000##FFFFFF
##672E9B1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9E
Deuteranopia (green-blind)
#004C99
Tritanopia (blue-blind)
#5D4761
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #672e9b;
/* rgb */ color: rgb(103, 46, 155);
/* oklch */ color: oklch(43.6% 0.170 304.1);
Tailwind
colors: {
  custom: {
    50: '#976bb9',
    500: '#672e9b',
    950: '#000000',
  },
}
SCSS
$custom: #672e9b;
$custom-light: #976bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#672e9b",
  "rgb": {
    "r": 103,
    "g": 46,
    "b": 155
  },
  "hsl": {
    "h": 271.376,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43647,
    "c": 0.16951,
    "h": 304.1
  },
  "luminance": 0.07204
}

Semantic roles & 50–950 ramp

primary
#672E9B
secondary
#91BC69
accent
#DE4A91
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #672E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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