#762286#762286

#762286 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.8% C 0.169 H 320.7°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#762286
RGBrgb(118, 34, 134)
HSLhsl(290, 60%, 33%)
HSVhsv(290, 75%, 53%)
CMYKcmyk(11.9%, 74.6%, 0%, 47.5%)
CIE-LABlab(31.15, 49.97, -38.15)
CIE-LCHlch(31.15, 62.86, 322.64°)
OKLaboklab(42.85% 0.1305 -0.1068)
OKLCHoklch(42.85% 0.169 320.7)
XYZxyz(12.3458, 6.7175, 23.1959)
Luminance0.0672 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762286 #328622
analogous
#442286 #762286 #862264
triadic
#762286 #867622 #228676
tetradic
#762286 #864422 #328622 #226486
square
#762286 #864422 #328622 #226486
split-complementary
#762286 #648622 #228644
monochromatic
#200924 #4B1655 #762286 #A12EB7 #BE50D3

Accessibility & contrast

On white

8.96
#762286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#762286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762286
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762286#FFFFFF#000000##FFFFFF
##7622861.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004489
Deuteranopia (green-blind)
#2D4C84
Tritanopia (blue-blind)
#773552
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #762286;
/* rgb */ color: rgb(118, 34, 134);
/* oklch */ color: oklch(42.8% 0.169 320.7);
Tailwind
colors: {
  custom: {
    50: '#a166aa',
    500: '#762286',
    950: '#000000',
  },
}
SCSS
$custom: #762286;
$custom-light: #a166aa;
$custom-dark: #000000;
JSON
{
  "hex": "#762286",
  "rgb": {
    "r": 118,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 290.4,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42845,
    "c": 0.16865,
    "h": 320.7
  },
  "luminance": 0.06717
}

Semantic roles & 50–950 ramp

primary
#762286
secondary
#5EB64E
accent
#E3455E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #762286

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

Preview Lab → · Contrast checker → · Palette generator →

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