#673281#673281

#673281 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.3% C 0.135 H 313.1°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#673281
RGBrgb(103, 50, 129)
HSLhsl(280, 44%, 35%)
HSVhsv(280, 61%, 51%)
CMYKcmyk(20.2%, 61.2%, 0%, 49.4%)
CIE-LABlab(31.23, 37.81, -35.04)
CIE-LCHlch(31.23, 51.55, 317.18°)
OKLaboklab(42.33% 0.0918 -0.0983)
OKLCHoklch(42.33% 0.135 313.1)
XYZxyz(10.6959, 6.7500, 21.5041)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673281 #4C8132
analogous
#3F3281 #673281 #813274
triadic
#673281 #816732 #328167
tetradic
#673281 #813F32 #4C8132 #327481
square
#673281 #813F32 #4C8132 #327481
split-complementary
#673281 #748132 #32813F
monochromatic
#211029 #442155 #673281 #8A43AD #A669C5

Accessibility & contrast

On white

8.94
#673281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#673281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673281
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673281#FFFFFF#000000##FFFFFF
##6732811.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184784
Deuteranopia (green-blind)
#2E4B7F
Tritanopia (blue-blind)
#644054
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #673281;
/* rgb */ color: rgb(103, 50, 129);
/* oklch */ color: oklch(42.3% 0.135 313.1);
Tailwind
colors: {
  custom: {
    50: '#956da6',
    500: '#673281',
    950: '#000000',
  },
}
SCSS
$custom: #673281;
$custom-light: #956da6;
$custom-dark: #000000;
JSON
{
  "hex": "#673281",
  "rgb": {
    "r": 103,
    "g": 50,
    "b": 129
  },
  "hsl": {
    "h": 280.253,
    "s": 44.134,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42331,
    "c": 0.13453,
    "h": 313.1
  },
  "luminance": 0.0675
}

Semantic roles & 50–950 ramp

primary
#673281
secondary
#7BAC62
accent
#D4547E
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0D070F
muted
#7E7A7F

Preview Lab

Preview with #673281

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

Preview Lab → · Contrast checker → · Palette generator →

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