#672277#672277

#672277 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.6% C 0.148 H 319.5°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#672277
RGBrgb(103, 34, 119)
HSLhsl(289, 56%, 30%)
HSVhsv(289, 71%, 47%)
CMYKcmyk(13.4%, 71.4%, 0%, 53.3%)
CIE-LABlab(27.74, 43.48, -34.32)
CIE-LCHlch(27.74, 55.40, 321.71°)
OKLaboklab(39.6% 0.1124 -0.0961)
OKLCHoklch(39.6% 0.148 319.5)
XYZxyz(9.4949, 5.3600, 17.9836)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672277 #327722
analogous
#3D2277 #672277 #77225C
triadic
#672277 #776722 #227767
tetradic
#672277 #773D22 #327722 #225C77
square
#672277 #773D22 #327722 #225C77
split-complementary
#672277 #5C7722 #22773D
monochromatic
#150718 #3E1447 #672277 #9030A7 #B249CB

Accessibility & contrast

On white

10.14
#672277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #672277
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672277#FFFFFF#000000##FFFFFF
##6722771.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D79
Deuteranopia (green-blind)
#284475
Tritanopia (blue-blind)
#67324A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #672277;
/* rgb */ color: rgb(103, 34, 119);
/* oklch */ color: oklch(39.6% 0.148 319.5);
Tailwind
colors: {
  custom: {
    50: '#95649f',
    500: '#672277',
    950: '#000000',
  },
}
SCSS
$custom: #672277;
$custom-light: #95649f;
$custom-dark: #000000;
JSON
{
  "hex": "#672277",
  "rgb": {
    "r": 103,
    "g": 34,
    "b": 119
  },
  "hsl": {
    "h": 288.706,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.396,
    "c": 0.14787,
    "h": 319.5
  },
  "luminance": 0.0536
}

Semantic roles & 50–950 ramp

primary
#672277
secondary
#5DAA4B
accent
#DF4965
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #672277

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

Preview Lab → · Contrast checker → · Palette generator →

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