#762297#762297

#762297 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.0% C 0.184 H 314.2°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#762297
RGBrgb(118, 34, 151)
HSLhsl(283, 63%, 36%)
HSVhsv(283, 77%, 59%)
CMYKcmyk(21.9%, 77.5%, 0%, 40.8%)
CIE-LABlab(32.33, 53.40, -46.75)
CIE-LCHlch(32.33, 70.97, 318.80°)
OKLaboklab(44.05% 0.1284 -0.132)
OKLCHoklch(44.05% 0.184 314.2)
XYZxyz(13.6282, 7.2304, 29.9499)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762297 #439722
analogous
#3C2297 #762297 #97227E
triadic
#762297 #977622 #229776
tetradic
#762297 #973C22 #439722 #227E97
square
#762297 #973C22 #439722 #227E97
split-complementary
#762297 #7E9722 #22973C
monochromatic
#280C33 #4F1765 #762297 #9D2DC9 #B65ADA

Accessibility & contrast

On white

8.59
#762297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#762297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762297
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762297#FFFFFF#000000##FFFFFF
##7622971.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #762297;
/* rgb */ color: rgb(118, 34, 151);
/* oklch */ color: oklch(44.0% 0.184 314.2);
Tailwind
colors: {
  custom: {
    50: '#a267b6',
    500: '#762297',
    950: '#000000',
  },
}
SCSS
$custom: #762297;
$custom-light: #a267b6;
$custom-dark: #000000;
JSON
{
  "hex": "#762297",
  "rgb": {
    "r": 118,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 283.077,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44048,
    "c": 0.18418,
    "h": 314.2
  },
  "luminance": 0.0723
}

Semantic roles & 50–950 ramp

primary
#762297
secondary
#74BE57
accent
#E64270
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #762297

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

Preview Lab → · Contrast checker → · Palette generator →

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