#672CA2#672CA2

#672CA2 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.0% C 0.180 H 302.3°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#672CA2
RGBrgb(103, 44, 162)
HSLhsl(270, 57%, 40%)
HSVhsv(270, 73%, 64%)
CMYKcmyk(36.4%, 72.8%, 0%, 36.5%)
CIE-LABlab(32.47, 48.80, -53.31)
CIE-LCHlch(32.47, 72.27, 312.47°)
OKLaboklab(43.96% 0.0959 -0.1519)
OKLCHoklch(43.96% 0.18 302.3)
XYZxyz(13.0142, 7.2935, 34.8976)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672CA2 #67A22C
analogous
#2C2CA2 #672CA2 #A22CA2
triadic
#672CA2 #A2672C #2CA267
tetradic
#672CA2 #A22C2C #67A22C #2CA2A2
square
#672CA2 #A22C2C #67A22C #2CA2A2
split-complementary
#672CA2 #A2A22C #2CA22C
monochromatic
#2A1242 #481F72 #672CA2 #8640CB #A470D8

Accessibility & contrast

On white

8.54
#672CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#672CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672CA2
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672CA2#FFFFFF#000000##FFFFFF
##672CA21.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #672ca2;
/* rgb */ color: rgb(103, 44, 162);
/* oklch */ color: oklch(44.0% 0.180 302.3);
Tailwind
colors: {
  custom: {
    50: '#986bbe',
    500: '#672ca2',
    950: '#000000',
  },
}
SCSS
$custom: #672ca2;
$custom-light: #986bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#672ca2",
  "rgb": {
    "r": 103,
    "g": 44,
    "b": 162
  },
  "hsl": {
    "h": 270,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43957,
    "c": 0.17965,
    "h": 302.3
  },
  "luminance": 0.07294
}

Semantic roles & 50–950 ramp

primary
#672CA2
secondary
#95BF6A
accent
#E14794
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #672CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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