#672A9E#672A9E

#672A9E is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.4% C 0.178 H 303.7°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#672A9E
RGBrgb(103, 42, 158)
HSLhsl(272, 58%, 39%)
HSVhsv(272, 73%, 62%)
CMYKcmyk(34.8%, 73.4%, 0%, 38%)
CIE-LABlab(31.83, 48.75, -51.93)
CIE-LCHlch(31.83, 71.22, 313.19°)
OKLaboklab(43.41% 0.0987 -0.1478)
OKLCHoklch(43.41% 0.178 303.7)
XYZxyz(12.5916, 7.0081, 33.0305)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672A9E #619E2A
analogous
#2D2A9E #672A9E #9E2A9B
triadic
#672A9E #9E672A #2A9E67
tetradic
#672A9E #9E2D2A #619E2A #2A9B9E
square
#672A9E #9E2D2A #619E2A #2A9B9E
split-complementary
#672A9E #9B9E2A #2A9E2D
monochromatic
#28103D #471D6E #672A9E #863ACB #A46BD8

Accessibility & contrast

On white

8.74
#672A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#672A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672A9E
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672A9E#FFFFFF#000000##FFFFFF
##672A9E1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA1
Deuteranopia (green-blind)
#004B9C
Tritanopia (blue-blind)
#5C4661
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #672a9e;
/* rgb */ color: rgb(103, 42, 158);
/* oklch */ color: oklch(43.4% 0.178 303.7);
Tailwind
colors: {
  custom: {
    50: '#9769bb',
    500: '#672a9e',
    950: '#000000',
  },
}
SCSS
$custom: #672a9e;
$custom-light: #9769bb;
$custom-dark: #000000;
JSON
{
  "hex": "#672a9e",
  "rgb": {
    "r": 103,
    "g": 42,
    "b": 158
  },
  "hsl": {
    "h": 271.552,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43405,
    "c": 0.17775,
    "h": 303.7
  },
  "luminance": 0.07008
}

Semantic roles & 50–950 ramp

primary
#672A9E
secondary
#90BE66
accent
#E14790
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #672A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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