#761FA6#761FA6

#761FA6 is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 45.0% C 0.201 H 309.5°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#761FA6
RGBrgb(118, 31, 166)
HSLhsl(279, 69%, 39%)
HSVhsv(279, 81%, 65%)
CMYKcmyk(28.9%, 81.3%, 0%, 34.9%)
CIE-LABlab(33.10, 57.60, -54.59)
CIE-LCHlch(33.10, 79.36, 316.54°)
OKLaboklab(44.95% 0.1278 -0.155)
OKLCHoklch(44.95% 0.201 309.5)
XYZxyz(14.8427, 7.5850, 36.7511)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761FA6 #4FA61F
analogous
#331FA6 #761FA6 #A61F92
triadic
#761FA6 #A6761F #1FA676
tetradic
#761FA6 #A6331F #4FA61F #1F92A6
square
#761FA6 #A6331F #4FA61F #1F92A6
split-complementary
#761FA6 #92A61F #1FA633
monochromatic
#2D0C3F #511572 #761FA6 #9A2BD7 #B35EE1

Accessibility & contrast

On white

8.34
#761FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#761FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761FA6
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761FA6#FFFFFF#000000##FFFFFF
##761FA61.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAA
Deuteranopia (green-blind)
#004FA3
Tritanopia (blue-blind)
#6F4264
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #761fa6;
/* rgb */ color: rgb(118, 31, 166);
/* oklch */ color: oklch(45.0% 0.201 309.5);
Tailwind
colors: {
  custom: {
    50: '#a366c1',
    500: '#761fa6',
    950: '#000000',
  },
}
SCSS
$custom: #761fa6;
$custom-light: #a366c1;
$custom-dark: #000000;
JSON
{
  "hex": "#761fa6",
  "rgb": {
    "r": 118,
    "g": 31,
    "b": 166
  },
  "hsl": {
    "h": 278.667,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44951,
    "c": 0.20092,
    "h": 309.5
  },
  "luminance": 0.07585
}

Semantic roles & 50–950 ramp

primary
#761FA6
secondary
#81C55B
accent
#EB3C7B
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100612
muted
#7F7A81

Preview Lab

Preview with #761FA6

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

Preview Lab → · Contrast checker → · Palette generator →

#761FA6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva