#762296#762296

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

Color values

HEX#762296
RGBrgb(118, 34, 150)
HSLhsl(283, 63%, 36%)
HSVhsv(283, 77%, 59%)
CMYKcmyk(21.3%, 77.3%, 0%, 41.2%)
CIE-LABlab(32.25, 53.19, -46.25)
CIE-LCHlch(32.25, 70.49, 318.99°)
OKLaboklab(43.97% 0.1286 -0.1306)
OKLCHoklch(43.97% 0.183 314.6)
XYZxyz(13.5473, 7.1981, 29.5240)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762296 #429622
analogous
#3C2296 #762296 #96227C
triadic
#762296 #967622 #229676
tetradic
#762296 #963C22 #429622 #227C96
square
#762296 #963C22 #429622 #227C96
split-complementary
#762296 #7C9622 #22963C
monochromatic
#280B32 #4F1764 #762296 #9D2DC8 #B659D9

Accessibility & contrast

On white

8.61
#762296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#762296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762296
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762296#FFFFFF#000000##FFFFFF
##7622961.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#1B4E94
Tritanopia (blue-blind)
#733C5B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #762296;
/* rgb */ color: rgb(118, 34, 150);
/* oklch */ color: oklch(44.0% 0.183 314.6);
Tailwind
colors: {
  custom: {
    50: '#a267b6',
    500: '#762296',
    950: '#000000',
  },
}
SCSS
$custom: #762296;
$custom-light: #a267b6;
$custom-dark: #000000;
JSON
{
  "hex": "#762296",
  "rgb": {
    "r": 118,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 283.448,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43974,
    "c": 0.18327,
    "h": 314.6
  },
  "luminance": 0.07198
}

Semantic roles & 50–950 ramp

primary
#762296
secondary
#73BE56
accent
#E6426F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #762296

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

Preview Lab → · Contrast checker → · Palette generator →

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