#732286#732286

#732286 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.4% C 0.167 H 319.2°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#732286
RGBrgb(115, 34, 134)
HSLhsl(289, 60%, 33%)
HSVhsv(289, 75%, 53%)
CMYKcmyk(14.2%, 74.6%, 0%, 47.5%)
CIE-LABlab(30.67, 49.30, -38.96)
CIE-LCHlch(30.67, 62.84, 321.68°)
OKLaboklab(42.4% 0.1267 -0.1093)
OKLCHoklch(42.4% 0.167 319.2)
XYZxyz(11.9448, 6.5107, 23.1771)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732286 #358622
analogous
#412286 #732286 #862267
triadic
#732286 #867322 #228673
tetradic
#732286 #864122 #358622 #226786
square
#732286 #864122 #358622 #226786
split-complementary
#732286 #678622 #228641
monochromatic
#1F0924 #491655 #732286 #9D2EB7 #BA50D3

Accessibility & contrast

On white

9.12
#732286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#732286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732286
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732286#FFFFFF#000000##FFFFFF
##7322861.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004389
Deuteranopia (green-blind)
#294B84
Tritanopia (blue-blind)
#733652
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #732286;
/* rgb */ color: rgb(115, 34, 134);
/* oklch */ color: oklch(42.4% 0.167 319.2);
Tailwind
colors: {
  custom: {
    50: '#9f66aa',
    500: '#732286',
    950: '#000000',
  },
}
SCSS
$custom: #732286;
$custom-light: #9f66aa;
$custom-dark: #000000;
JSON
{
  "hex": "#732286",
  "rgb": {
    "r": 115,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 288.6,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42399,
    "c": 0.16735,
    "h": 319.2
  },
  "luminance": 0.0651
}

Semantic roles & 50–950 ramp

primary
#732286
secondary
#62B64E
accent
#E34563
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #732286

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

Preview Lab → · Contrast checker → · Palette generator →

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