#762288#762288

#762288 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.0% C 0.170 H 319.9°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#762288
RGBrgb(118, 34, 136)
HSLhsl(289, 60%, 33%)
HSVhsv(289, 75%, 53%)
CMYKcmyk(13.2%, 75%, 0%, 46.7%)
CIE-LABlab(31.29, 50.36, -39.18)
CIE-LCHlch(31.29, 63.80, 322.12°)
OKLaboklab(42.98% 0.1304 -0.1098)
OKLCHoklch(42.98% 0.17 319.9)
XYZxyz(12.4866, 6.7738, 23.9375)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762288 #348822
analogous
#432288 #762288 #882267
triadic
#762288 #887622 #228876
tetradic
#762288 #884322 #348822 #226788
square
#762288 #884322 #348822 #226788
split-complementary
#762288 #678822 #228843
monochromatic
#210A26 #4C1657 #762288 #A02EB9 #BC51D3

Accessibility & contrast

On white

8.92
#762288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #762288
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762288#FFFFFF#000000##FFFFFF
##7622881.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448B
Deuteranopia (green-blind)
#2B4C86
Tritanopia (blue-blind)
#763653
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #762288;
/* rgb */ color: rgb(118, 34, 136);
/* oklch */ color: oklch(43.0% 0.170 319.9);
Tailwind
colors: {
  custom: {
    50: '#a166ab',
    500: '#762288',
    950: '#000000',
  },
}
SCSS
$custom: #762288;
$custom-light: #a166ab;
$custom-dark: #000000;
JSON
{
  "hex": "#762288",
  "rgb": {
    "r": 118,
    "g": 34,
    "b": 136
  },
  "hsl": {
    "h": 289.412,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42981,
    "c": 0.17045,
    "h": 319.9
  },
  "luminance": 0.06773
}

Semantic roles & 50–950 ramp

primary
#762288
secondary
#61B74F
accent
#E34561
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #762288

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

Preview Lab → · Contrast checker → · Palette generator →

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