#672278#672278

#672278 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.7% C 0.149 H 319.0°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#672278
RGBrgb(103, 34, 120)
HSLhsl(288, 56%, 30%)
HSVhsv(288, 72%, 47%)
CMYKcmyk(14.2%, 71.7%, 0%, 52.9%)
CIE-LABlab(27.80, 43.69, -34.85)
CIE-LCHlch(27.80, 55.89, 321.42°)
OKLaboklab(39.67% 0.1123 -0.0977)
OKLCHoklch(39.67% 0.149 319)
XYZxyz(9.5553, 5.3841, 18.3016)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672278 #337822
analogous
#3C2278 #672278 #78225E
triadic
#672278 #786722 #227867
tetradic
#672278 #783C22 #337822 #225E78
square
#672278 #783C22 #337822 #225E78
split-complementary
#672278 #5E7822 #22783C
monochromatic
#150719 #3E1448 #672278 #9030A8 #B249CB

Accessibility & contrast

On white

10.11
#672278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#672278 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672278
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672278#FFFFFF#000000##FFFFFF
##6722781.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7A
Deuteranopia (green-blind)
#284476
Tritanopia (blue-blind)
#67324A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #672278;
/* rgb */ color: rgb(103, 34, 120);
/* oklch */ color: oklch(39.7% 0.149 319.0);
Tailwind
colors: {
  custom: {
    50: '#95649f',
    500: '#672278',
    950: '#000000',
  },
}
SCSS
$custom: #672278;
$custom-light: #95649f;
$custom-dark: #000000;
JSON
{
  "hex": "#672278",
  "rgb": {
    "r": 103,
    "g": 34,
    "b": 120
  },
  "hsl": {
    "h": 288.14,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39668,
    "c": 0.14885,
    "h": 319
  },
  "luminance": 0.05384
}

Semantic roles & 50–950 ramp

primary
#672278
secondary
#5EAB4B
accent
#DF4966
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #672278

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

Preview Lab → · Contrast checker → · Palette generator →

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