#672A86#672A86

#672A86 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.6% C 0.152 H 312.1°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#672A86
RGBrgb(103, 42, 134)
HSLhsl(280, 52%, 35%)
HSVhsv(280, 69%, 53%)
CMYKcmyk(23.1%, 68.7%, 0%, 47.5%)
CIE-LABlab(30.06, 43.06, -40.03)
CIE-LCHlch(30.06, 58.79, 317.09°)
OKLaboklab(41.59% 0.102 -0.1129)
OKLCHoklch(41.59% 0.152 312.1)
XYZxyz(10.7238, 6.2610, 23.1932)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672A86 #49862A
analogous
#392A86 #672A86 #862A77
triadic
#672A86 #86672A #2A8667
tetradic
#672A86 #86392A #49862A #2A7786
square
#672A86 #86392A #49862A #2A7786
split-complementary
#672A86 #77862A #2A8639
monochromatic
#1F0D29 #431B57 #672A86 #8B39B5 #A75ECD

Accessibility & contrast

On white

9.32
#672A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#672A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672A86
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672A86#FFFFFF#000000##FFFFFF
##672A861.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004489
Deuteranopia (green-blind)
#214884
Tritanopia (blue-blind)
#633D54
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #672a86;
/* rgb */ color: rgb(103, 42, 134);
/* oklch */ color: oklch(41.6% 0.152 312.1);
Tailwind
colors: {
  custom: {
    50: '#9668aa',
    500: '#672a86',
    950: '#000000',
  },
}
SCSS
$custom: #672a86;
$custom-light: #9668aa;
$custom-dark: #000000;
JSON
{
  "hex": "#672a86",
  "rgb": {
    "r": 103,
    "g": 42,
    "b": 134
  },
  "hsl": {
    "h": 279.783,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41589,
    "c": 0.15211,
    "h": 312.1
  },
  "luminance": 0.06261
}

Semantic roles & 50–950 ramp

primary
#672A86
secondary
#77B25A
accent
#DC4C7C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #672A86

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

Preview Lab → · Contrast checker → · Palette generator →

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