#762388#762388

#762388 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.1% C 0.169 H 319.8°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#762388
RGBrgb(118, 35, 136)
HSLhsl(289, 59%, 34%)
HSVhsv(289, 74%, 53%)
CMYKcmyk(13.2%, 74.3%, 0%, 46.7%)
CIE-LABlab(31.42, 49.97, -38.96)
CIE-LCHlch(31.42, 63.37, 322.06°)
OKLaboklab(43.08% 0.1293 -0.1092)
OKLCHoklch(43.08% 0.169 319.8)
XYZxyz(12.5156, 6.8318, 23.9472)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762388 #358823
analogous
#432388 #762388 #882367
triadic
#762388 #887623 #238876
tetradic
#762388 #884323 #358823 #236788
square
#762388 #884323 #358823 #236788
split-complementary
#762388 #678823 #238843
monochromatic
#220A27 #4C1657 #762388 #A030B9 #BC53D3

Accessibility & contrast

On white

8.87
#762388 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#762388 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762388
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762388#FFFFFF#000000##FFFFFF
##7623881.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #762388;
/* rgb */ color: rgb(118, 35, 136);
/* oklch */ color: oklch(43.1% 0.169 319.8);
Tailwind
colors: {
  custom: {
    50: '#a167ab',
    500: '#762388',
    950: '#000000',
  },
}
SCSS
$custom: #762388;
$custom-light: #a167ab;
$custom-dark: #000000;
JSON
{
  "hex": "#762388",
  "rgb": {
    "r": 118,
    "g": 35,
    "b": 136
  },
  "hsl": {
    "h": 289.307,
    "s": 59.064,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43077,
    "c": 0.16927,
    "h": 319.8
  },
  "luminance": 0.06831
}

Semantic roles & 50–950 ramp

primary
#762388
secondary
#63B750
accent
#E24661
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #762388

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

Preview Lab → · Contrast checker → · Palette generator →

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