#762298#762298

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

Color values

HEX#762298
RGBrgb(118, 34, 152)
HSLhsl(283, 63%, 36%)
HSVhsv(283, 78%, 60%)
CMYKcmyk(22.4%, 77.6%, 0%, 40.4%)
CIE-LABlab(32.40, 53.61, -47.24)
CIE-LCHlch(32.40, 71.45, 318.61°)
OKLaboklab(44.12% 0.1283 -0.1335)
OKLCHoklch(44.12% 0.185 313.9)
XYZxyz(13.7098, 7.2631, 30.3794)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762298 #449822
analogous
#3B2298 #762298 #98227F
triadic
#762298 #987622 #229876
tetradic
#762298 #983B22 #449822 #227F98
square
#762298 #983B22 #449822 #227F98
split-complementary
#762298 #7F9822 #22983B
monochromatic
#280C34 #4F1766 #762298 #9D2DCA #B55ADA

Accessibility & contrast

On white

8.56
#762298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #762298
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762298#FFFFFF#000000##FFFFFF
##7622981.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #762298;
/* rgb */ color: rgb(118, 34, 152);
/* oklch */ color: oklch(44.1% 0.185 313.9);
Tailwind
colors: {
  custom: {
    50: '#a267b7',
    500: '#762298',
    950: '#000000',
  },
}
SCSS
$custom: #762298;
$custom-light: #a267b7;
$custom-dark: #000000;
JSON
{
  "hex": "#762298",
  "rgb": {
    "r": 118,
    "g": 34,
    "b": 152
  },
  "hsl": {
    "h": 282.712,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44122,
    "c": 0.18511,
    "h": 313.9
  },
  "luminance": 0.07263
}

Semantic roles & 50–950 ramp

primary
#762298
secondary
#75BE57
accent
#E64171
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #762298

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

Preview Lab → · Contrast checker → · Palette generator →

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