#762287#762287

#762287 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.9% C 0.170 H 320.3°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#762287
RGBrgb(118, 34, 135)
HSLhsl(290, 60%, 33%)
HSVhsv(290, 75%, 53%)
CMYKcmyk(12.6%, 74.8%, 0%, 47.1%)
CIE-LABlab(31.22, 50.16, -38.66)
CIE-LCHlch(31.22, 63.33, 322.38°)
OKLaboklab(42.91% 0.1304 -0.1083)
OKLCHoklch(42.91% 0.17 320.3)
XYZxyz(12.4159, 6.7455, 23.5650)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762287 #338722
analogous
#432287 #762287 #872265
triadic
#762287 #877622 #228776
tetradic
#762287 #874322 #338722 #226587
square
#762287 #874322 #338722 #226587
split-complementary
#762287 #658722 #228743
monochromatic
#210925 #4B1656 #762287 #A12EB8 #BD50D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##762287#FFFFFF#000000##FFFFFF
##7622871.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)
#00448A
Deuteranopia (green-blind)
#2C4C85
Tritanopia (blue-blind)
#773653
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #762287;
/* rgb */ color: rgb(118, 34, 135);
/* oklch */ color: oklch(42.9% 0.170 320.3);
Tailwind
colors: {
  custom: {
    50: '#a166aa',
    500: '#762287',
    950: '#000000',
  },
}
SCSS
$custom: #762287;
$custom-light: #a166aa;
$custom-dark: #000000;
JSON
{
  "hex": "#762287",
  "rgb": {
    "r": 118,
    "g": 34,
    "b": 135
  },
  "hsl": {
    "h": 289.901,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42913,
    "c": 0.16954,
    "h": 320.3
  },
  "luminance": 0.06745
}

Semantic roles & 50–950 ramp

primary
#762287
secondary
#60B74E
accent
#E3455F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #762287

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

Preview Lab → · Contrast checker → · Palette generator →

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