#672A9B#672A9B

#672A9B is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.2% C 0.175 H 304.7°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#672A9B
RGBrgb(103, 42, 155)
HSLhsl(272, 57%, 39%)
HSVhsv(272, 73%, 61%)
CMYKcmyk(33.5%, 72.9%, 0%, 39.2%)
CIE-LABlab(31.59, 48.02, -50.48)
CIE-LCHlch(31.59, 69.67, 313.57°)
OKLaboklab(43.17% 0.0993 -0.1436)
OKLCHoklch(43.17% 0.175 304.7)
XYZxyz(12.3365, 6.9061, 31.6871)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672A9B #5E9B2A
analogous
#2E2A9B #672A9B #9B2A96
triadic
#672A9B #9B672A #2A9B67
tetradic
#672A9B #9B2E2A #5E9B2A #2A969B
square
#672A9B #9B2E2A #5E9B2A #2A969B
split-complementary
#672A9B #969B2A #2A9B2E
monochromatic
#27103B #471D6B #672A9B #8739C9 #A469D6

Accessibility & contrast

On white

8.82
#672A9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#672A9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672A9B
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672A9B#FFFFFF#000000##FFFFFF
##672A9B1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#004A99
Tritanopia (blue-blind)
#5D4560
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #672a9b;
/* rgb */ color: rgb(103, 42, 155);
/* oklch */ color: oklch(43.2% 0.175 304.7);
Tailwind
colors: {
  custom: {
    50: '#9769b9',
    500: '#672a9b',
    950: '#000000',
  },
}
SCSS
$custom: #672a9b;
$custom-light: #9769b9;
$custom-dark: #000000;
JSON
{
  "hex": "#672a9b",
  "rgb": {
    "r": 103,
    "g": 42,
    "b": 155
  },
  "hsl": {
    "h": 272.389,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43166,
    "c": 0.17454,
    "h": 304.7
  },
  "luminance": 0.06906
}

Semantic roles & 50–950 ramp

primary
#672A9B
secondary
#8DBD64
accent
#E1478E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #672A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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