#672186#672186

#672186 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.6% C 0.164 H 313.1°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#672186
RGBrgb(103, 33, 134)
HSLhsl(282, 60%, 33%)
HSVhsv(282, 75%, 53%)
CMYKcmyk(23.1%, 75.4%, 0%, 47.5%)
CIE-LABlab(28.62, 47.11, -42.34)
CIE-LCHlch(28.62, 63.34, 318.05°)
OKLaboklab(40.56% 0.112 -0.1196)
OKLCHoklch(40.56% 0.164 313.1)
XYZxyz(10.4397, 5.6928, 23.0985)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672186 #408621
analogous
#342186 #672186 #862172
triadic
#672186 #866721 #218667
tetradic
#672186 #863421 #408621 #217286
square
#672186 #863421 #408621 #217286
split-complementary
#672186 #728621 #218634
monochromatic
#1C0924 #411555 #672186 #8D2DB7 #AA4ED3

Accessibility & contrast

On white

9.82
#672186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#672186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672186
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672186#FFFFFF#000000##FFFFFF
##6721861.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004089
Deuteranopia (green-blind)
#174584
Tritanopia (blue-blind)
#643752
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #672186;
/* rgb */ color: rgb(103, 33, 134);
/* oklch */ color: oklch(40.6% 0.164 313.1);
Tailwind
colors: {
  custom: {
    50: '#9664aa',
    500: '#672186',
    950: '#000000',
  },
}
SCSS
$custom: #672186;
$custom-light: #9664aa;
$custom-dark: #000000;
JSON
{
  "hex": "#672186",
  "rgb": {
    "r": 103,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 281.584,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40563,
    "c": 0.16385,
    "h": 313.1
  },
  "luminance": 0.05693
}

Semantic roles & 50–950 ramp

primary
#672186
secondary
#6DB74C
accent
#E44475
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #672186

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

Preview Lab → · Contrast checker → · Palette generator →

#672186 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva