#762284#762284

#762284 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.7% C 0.167 H 321.5°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#762284
RGBrgb(118, 34, 132)
HSLhsl(291, 59%, 33%)
HSVhsv(291, 74%, 52%)
CMYKcmyk(10.6%, 74.2%, 0%, 48.2%)
CIE-LABlab(31.03, 49.58, -37.11)
CIE-LCHlch(31.03, 61.93, 323.18°)
OKLaboklab(42.71% 0.1306 -0.1038)
OKLCHoklch(42.71% 0.167 321.5)
XYZxyz(12.2076, 6.6622, 22.4682)
Luminance0.0666 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762284 #308422
analogous
#452284 #762284 #842261
triadic
#762284 #847622 #228476
tetradic
#762284 #844522 #308422 #226184
square
#762284 #844522 #308422 #226184
split-complementary
#762284 #618422 #228445
monochromatic
#1F0923 #4A1553 #762284 #A22FB5 #BF4FD2

Accessibility & contrast

On white

9.00
#762284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#762284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762284
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762284#FFFFFF#000000##FFFFFF
##7622841.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004387
Deuteranopia (green-blind)
#2E4C82
Tritanopia (blue-blind)
#773451
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #762284;
/* rgb */ color: rgb(118, 34, 132);
/* oklch */ color: oklch(42.7% 0.167 321.5);
Tailwind
colors: {
  custom: {
    50: '#a166a8',
    500: '#762284',
    950: '#000000',
  },
}
SCSS
$custom: #762284;
$custom-light: #a166a8;
$custom-dark: #000000;
JSON
{
  "hex": "#762284",
  "rgb": {
    "r": 118,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 291.429,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42711,
    "c": 0.16685,
    "h": 321.5
  },
  "luminance": 0.06662
}

Semantic roles & 50–950 ramp

primary
#762284
secondary
#5CB54D
accent
#E2465C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #762284

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

Preview Lab → · Contrast checker → · Palette generator →

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