#672AA2#672AA2

#672AA2 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.7% C 0.182 H 302.5°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#672AA2
RGBrgb(103, 42, 162)
HSLhsl(271, 59%, 40%)
HSVhsv(271, 74%, 64%)
CMYKcmyk(36.4%, 74.1%, 0%, 36.5%)
CIE-LABlab(32.14, 49.72, -53.84)
CIE-LCHlch(32.14, 73.28, 312.72°)
OKLaboklab(43.73% 0.0979 -0.1534)
OKLCHoklch(43.73% 0.182 302.5)
XYZxyz(12.9415, 7.1481, 34.8733)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672AA2 #65A22A
analogous
#2B2AA2 #672AA2 #A22AA1
triadic
#672AA2 #A2672A #2AA267
tetradic
#672AA2 #A22B2A #65A22A #2AA1A2
square
#672AA2 #A22B2A #65A22A #2AA1A2
split-complementary
#672AA2 #A1A22A #2AA22B
monochromatic
#291141 #481D71 #672AA2 #863DCD #A46DD9

Accessibility & contrast

On white

8.64
#672AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#672AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672AA2
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672AA2#FFFFFF#000000##FFFFFF
##672AA21.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA5
Deuteranopia (green-blind)
#004BA0
Tritanopia (blue-blind)
#5B4864
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #672aa2;
/* rgb */ color: rgb(103, 42, 162);
/* oklch */ color: oklch(43.7% 0.182 302.5);
Tailwind
colors: {
  custom: {
    50: '#9869be',
    500: '#672aa2',
    950: '#000000',
  },
}
SCSS
$custom: #672aa2;
$custom-light: #9869be;
$custom-dark: #000000;
JSON
{
  "hex": "#672aa2",
  "rgb": {
    "r": 103,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 270.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.43728,
    "c": 0.18201,
    "h": 302.5
  },
  "luminance": 0.07148
}

Semantic roles & 50–950 ramp

primary
#672AA2
secondary
#93C068
accent
#E24693
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #672AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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