#672286#672286

#672286 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.163 H 313.0°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#672286
RGBrgb(103, 34, 134)
HSLhsl(281, 60%, 33%)
HSVhsv(281, 75%, 53%)
CMYKcmyk(23.1%, 74.6%, 0%, 47.5%)
CIE-LABlab(28.77, 46.69, -42.11)
CIE-LCHlch(28.77, 62.87, 317.96°)
OKLaboklab(40.67% 0.111 -0.1189)
OKLCHoklch(40.67% 0.163 313)
XYZxyz(10.4679, 5.7492, 23.1079)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672286 #418622
analogous
#352286 #672286 #862273
triadic
#672286 #866722 #228667
tetradic
#672286 #863522 #418622 #227386
square
#672286 #863522 #418622 #227386
split-complementary
#672286 #738622 #228635
monochromatic
#1C0924 #411655 #672286 #8D2EB7 #AA50D3

Accessibility & contrast

On white

9.77
#672286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#672286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672286
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672286#FFFFFF#000000##FFFFFF
##6722861.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004089
Deuteranopia (green-blind)
#184584
Tritanopia (blue-blind)
#643852
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #672286;
/* rgb */ color: rgb(103, 34, 134);
/* oklch */ color: oklch(40.7% 0.163 313.0);
Tailwind
colors: {
  custom: {
    50: '#9664aa',
    500: '#672286',
    950: '#000000',
  },
}
SCSS
$custom: #672286;
$custom-light: #9664aa;
$custom-dark: #000000;
JSON
{
  "hex": "#672286",
  "rgb": {
    "r": 103,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 281.4,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40667,
    "c": 0.16264,
    "h": 313
  },
  "luminance": 0.05749
}

Semantic roles & 50–950 ramp

primary
#672286
secondary
#6EB64E
accent
#E34576
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #672286

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

Preview Lab → · Contrast checker → · Palette generator →

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