#672276#672276

#672276 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.5% C 0.147 H 319.9°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#672276
RGBrgb(103, 34, 118)
HSLhsl(289, 55%, 30%)
HSVhsv(289, 71%, 46%)
CMYKcmyk(12.7%, 71.2%, 0%, 53.7%)
CIE-LABlab(27.67, 43.27, -33.79)
CIE-LCHlch(27.67, 54.90, 322.01°)
OKLaboklab(39.53% 0.1124 -0.0945)
OKLCHoklch(39.53% 0.147 319.9)
XYZxyz(9.4352, 5.3361, 17.6690)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672276 #317622
analogous
#3D2276 #672276 #76225B
triadic
#672276 #766722 #227667
tetradic
#672276 #763D22 #317622 #225B76
square
#672276 #763D22 #317622 #225B76
split-complementary
#672276 #5B7622 #22763D
monochromatic
#150718 #3E1446 #672276 #9030A6 #B348CA

Accessibility & contrast

On white

10.16
#672276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#672276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672276
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672276#FFFFFF#000000##FFFFFF
##6722761.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013D78
Deuteranopia (green-blind)
#294474
Tritanopia (blue-blind)
#673149
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #672276;
/* rgb */ color: rgb(103, 34, 118);
/* oklch */ color: oklch(39.5% 0.147 319.9);
Tailwind
colors: {
  custom: {
    50: '#95649e',
    500: '#672276',
    950: '#000000',
  },
}
SCSS
$custom: #672276;
$custom-light: #95649e;
$custom-dark: #000000;
JSON
{
  "hex": "#672276",
  "rgb": {
    "r": 103,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 289.286,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39532,
    "c": 0.1469,
    "h": 319.9
  },
  "luminance": 0.05336
}

Semantic roles & 50–950 ramp

primary
#672276
secondary
#5CA94B
accent
#DF4964
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #672276

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

Preview Lab → · Contrast checker → · Palette generator →

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