#762398#762398

#762398 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.2% C 0.184 H 313.8°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#762398
RGBrgb(118, 35, 152)
HSLhsl(283, 63%, 37%)
HSVhsv(283, 77%, 60%)
CMYKcmyk(22.4%, 77%, 0%, 40.4%)
CIE-LABlab(32.53, 53.24, -47.03)
CIE-LCHlch(32.53, 71.04, 318.54°)
OKLaboklab(44.21% 0.1273 -0.1329)
OKLCHoklch(44.21% 0.184 313.8)
XYZxyz(13.7388, 7.3211, 30.3891)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762398 #459823
analogous
#3C2398 #762398 #982380
triadic
#762398 #987623 #239876
tetradic
#762398 #983C23 #459823 #238098
square
#762398 #983C23 #459823 #238098
split-complementary
#762398 #809823 #23983C
monochromatic
#290C35 #4F1866 #762398 #9D2ECA #B55CD9

Accessibility & contrast

On white

8.52
#762398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#762398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762398
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762398#FFFFFF#000000##FFFFFF
##7623981.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489B
Deuteranopia (green-blind)
#194E96
Tritanopia (blue-blind)
#733E5C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #762398;
/* rgb */ color: rgb(118, 35, 152);
/* oklch */ color: oklch(44.2% 0.184 313.8);
Tailwind
colors: {
  custom: {
    50: '#a267b7',
    500: '#762398',
    950: '#000000',
  },
}
SCSS
$custom: #762398;
$custom-light: #a267b7;
$custom-dark: #000000;
JSON
{
  "hex": "#762398",
  "rgb": {
    "r": 118,
    "g": 35,
    "b": 152
  },
  "hsl": {
    "h": 282.564,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44213,
    "c": 0.18405,
    "h": 313.8
  },
  "luminance": 0.07321
}

Semantic roles & 50–950 ramp

primary
#762398
secondary
#76BE59
accent
#E64272
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #762398

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

Preview Lab → · Contrast checker → · Palette generator →

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