#672BA2#672BA2

#672BA2 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.8% C 0.181 H 302.4°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#672BA2
RGBrgb(103, 43, 162)
HSLhsl(270, 58%, 40%)
HSVhsv(270, 73%, 64%)
CMYKcmyk(36.4%, 73.5%, 0%, 36.5%)
CIE-LABlab(32.30, 49.27, -53.57)
CIE-LCHlch(32.30, 72.78, 312.60°)
OKLaboklab(43.84% 0.0969 -0.1527)
OKLCHoklch(43.84% 0.181 302.4)
XYZxyz(12.9774, 7.2199, 34.8853)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672BA2 #66A22B
analogous
#2B2BA2 #672BA2 #A22BA2
triadic
#672BA2 #A2672B #2BA267
tetradic
#672BA2 #A22B2B #66A22B #2BA2A2
square
#672BA2 #A22B2B #66A22B #2BA2A2
split-complementary
#672BA2 #A2A22B #2BA22B
monochromatic
#2A1141 #481E72 #672BA2 #863ECC #A46FD9

Accessibility & contrast

On white

8.59
#672BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #672BA2
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672BA2#FFFFFF#000000##FFFFFF
##672BA21.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #672ba2;
/* rgb */ color: rgb(103, 43, 162);
/* oklch */ color: oklch(43.8% 0.181 302.4);
Tailwind
colors: {
  custom: {
    50: '#986abe',
    500: '#672ba2',
    950: '#000000',
  },
}
SCSS
$custom: #672ba2;
$custom-light: #986abe;
$custom-dark: #000000;
JSON
{
  "hex": "#672ba2",
  "rgb": {
    "r": 103,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 270.252,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43841,
    "c": 0.18084,
    "h": 302.4
  },
  "luminance": 0.0722
}

Semantic roles & 50–950 ramp

primary
#672BA2
secondary
#94C069
accent
#E14793
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #672BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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