#672284#672284

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

Color values

HEX#672284
RGBrgb(103, 34, 132)
HSLhsl(282, 59%, 33%)
HSVhsv(282, 74%, 52%)
CMYKcmyk(22%, 74.2%, 0%, 48.2%)
CIE-LABlab(28.63, 46.25, -41.09)
CIE-LCHlch(28.63, 61.87, 318.38°)
OKLaboklab(40.52% 0.1112 -0.1159)
OKLCHoklch(40.52% 0.161 313.8)
XYZxyz(10.3297, 5.6939, 22.3802)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672284 #3F8422
analogous
#362284 #672284 #842270
triadic
#672284 #846722 #228467
tetradic
#672284 #843622 #3F8422 #227084
square
#672284 #843622 #3F8422 #227084
split-complementary
#672284 #708422 #228436
monochromatic
#1B0923 #411553 #672284 #8D2FB5 #AB4FD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##672284#FFFFFF#000000##FFFFFF
##6722841.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)
#004087
Deuteranopia (green-blind)
#1B4582
Tritanopia (blue-blind)
#643751
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #672284;
/* rgb */ color: rgb(103, 34, 132);
/* oklch */ color: oklch(40.5% 0.161 313.8);
Tailwind
colors: {
  custom: {
    50: '#9664a8',
    500: '#672284',
    950: '#000000',
  },
}
SCSS
$custom: #672284;
$custom-light: #9664a8;
$custom-dark: #000000;
JSON
{
  "hex": "#672284",
  "rgb": {
    "r": 103,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 282.245,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40519,
    "c": 0.16065,
    "h": 313.8
  },
  "luminance": 0.05694
}

Semantic roles & 50–950 ramp

primary
#672284
secondary
#6CB54D
accent
#E24674
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #672284

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

Preview Lab → · Contrast checker → · Palette generator →

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