#672282#672282

#672282 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.4% C 0.159 H 314.6°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#672282
RGBrgb(103, 34, 130)
HSLhsl(283, 59%, 32%)
HSVhsv(283, 74%, 51%)
CMYKcmyk(20.8%, 73.8%, 0%, 49%)
CIE-LABlab(28.48, 45.82, -40.07)
CIE-LCHlch(28.48, 60.86, 318.83°)
OKLaboklab(40.37% 0.1115 -0.1129)
OKLCHoklch(40.37% 0.159 314.6)
XYZxyz(10.1941, 5.6397, 21.6663)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672282 #3D8222
analogous
#372282 #672282 #82226D
triadic
#672282 #826722 #228267
tetradic
#672282 #823722 #3D8222 #226D82
square
#672282 #823722 #3D8222 #226D82
split-complementary
#672282 #6D8222 #228237
monochromatic
#1A0921 #411551 #672282 #8D2FB3 #AC4ED1

Accessibility & contrast

On white

9.87
#672282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#672282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672282
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672282#FFFFFF#000000##FFFFFF
##6722821.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F85
Deuteranopia (green-blind)
#1E4580
Tritanopia (blue-blind)
#653650
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #672282;
/* rgb */ color: rgb(103, 34, 130);
/* oklch */ color: oklch(40.4% 0.159 314.6);
Tailwind
colors: {
  custom: {
    50: '#9664a7',
    500: '#672282',
    950: '#000000',
  },
}
SCSS
$custom: #672282;
$custom-light: #9664a7;
$custom-dark: #000000;
JSON
{
  "hex": "#672282",
  "rgb": {
    "r": 103,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 283.125,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40373,
    "c": 0.15867,
    "h": 314.6
  },
  "luminance": 0.05639
}

Semantic roles & 50–950 ramp

primary
#672282
secondary
#69B44C
accent
#E24672
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #672282

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

Preview Lab → · Contrast checker → · Palette generator →

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