#762295#762295

#762295 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.9% C 0.182 H 314.9°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#762295
RGBrgb(118, 34, 149)
HSLhsl(284, 63%, 36%)
HSVhsv(284, 77%, 58%)
CMYKcmyk(20.8%, 77.2%, 0%, 41.6%)
CIE-LABlab(32.18, 52.98, -45.76)
CIE-LCHlch(32.18, 70.01, 319.19°)
OKLaboklab(43.9% 0.1288 -0.1291)
OKLCHoklch(43.9% 0.182 314.9)
XYZxyz(13.4672, 7.1660, 29.1017)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762295 #419522
analogous
#3C2295 #762295 #95227A
triadic
#762295 #957622 #229576
tetradic
#762295 #953C22 #419522 #227A95
square
#762295 #953C22 #419522 #227A95
split-complementary
#762295 #7A9522 #22953C
monochromatic
#270B31 #4F1763 #762295 #9D2DC7 #B658D9

Accessibility & contrast

On white

8.63
#762295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#762295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762295
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762295#FFFFFF#000000##FFFFFF
##7622951.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004798
Deuteranopia (green-blind)
#1C4E93
Tritanopia (blue-blind)
#733C5A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #762295;
/* rgb */ color: rgb(118, 34, 149);
/* oklch */ color: oklch(43.9% 0.182 314.9);
Tailwind
colors: {
  custom: {
    50: '#a167b5',
    500: '#762295',
    950: '#000000',
  },
}
SCSS
$custom: #762295;
$custom-light: #a167b5;
$custom-dark: #000000;
JSON
{
  "hex": "#762295",
  "rgb": {
    "r": 118,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 283.826,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43901,
    "c": 0.18234,
    "h": 314.9
  },
  "luminance": 0.07166
}

Semantic roles & 50–950 ramp

primary
#762295
secondary
#72BD56
accent
#E6426E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #762295

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

Preview Lab → · Contrast checker → · Palette generator →

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