#762397#762397

#762397 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.1% C 0.183 H 314.1°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#762397
RGBrgb(118, 35, 151)
HSLhsl(283, 62%, 36%)
HSVhsv(283, 77%, 59%)
CMYKcmyk(21.9%, 76.8%, 0%, 40.8%)
CIE-LABlab(32.45, 53.03, -46.54)
CIE-LCHlch(32.45, 70.56, 318.73°)
OKLaboklab(44.14% 0.1275 -0.1314)
OKLCHoklch(44.14% 0.183 314.1)
XYZxyz(13.6572, 7.2884, 29.9596)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762397 #449723
analogous
#3C2397 #762397 #97237E
triadic
#762397 #977623 #239776
tetradic
#762397 #973C23 #449723 #237E97
square
#762397 #973C23 #449723 #237E97
split-complementary
#762397 #7E9723 #23973C
monochromatic
#280C34 #4F1765 #762397 #9D2FC9 #B55BD9

Accessibility & contrast

On white

8.54
#762397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #762397
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762397#FFFFFF#000000##FFFFFF
##7623971.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489A
Deuteranopia (green-blind)
#1A4E95
Tritanopia (blue-blind)
#733D5C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #762397;
/* rgb */ color: rgb(118, 35, 151);
/* oklch */ color: oklch(44.1% 0.183 314.1);
Tailwind
colors: {
  custom: {
    50: '#a267b6',
    500: '#762397',
    950: '#000000',
  },
}
SCSS
$custom: #762397;
$custom-light: #a267b6;
$custom-dark: #000000;
JSON
{
  "hex": "#762397",
  "rgb": {
    "r": 118,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 282.931,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44139,
    "c": 0.18311,
    "h": 314.1
  },
  "luminance": 0.07288
}

Semantic roles & 50–950 ramp

primary
#762397
secondary
#75BE58
accent
#E54271
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #762397

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

Preview Lab → · Contrast checker → · Palette generator →

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