#762F7B#762F7B

#762F7B is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.6% C 0.141 H 325.0°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#762F7B
RGBrgb(118, 47, 123)
HSLhsl(296, 45%, 33%)
HSVhsv(296, 62%, 48%)
CMYKcmyk(4.1%, 61.8%, 0%, 51.8%)
CIE-LABlab(32.51, 42.16, -29.11)
CIE-LCHlch(32.51, 51.23, 325.37°)
OKLaboklab(43.61% 0.1151 -0.0806)
OKLCHoklch(43.61% 0.141 325)
XYZxyz(12.0626, 7.3153, 19.5117)
Luminance0.0732 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762F7B #347B2F
analogous
#502F7B #762F7B #7B2F5A
triadic
#762F7B #7B762F #2F7B76
tetradic
#762F7B #7B502F #347B2F #2F5A7B
square
#762F7B #7B502F #347B2F #2F5A7B
split-complementary
#762F7B #5A7B2F #2F7B50
monochromatic
#210D22 #4C1E4F #762F7B #A040A7 #BC62C3

Accessibility & contrast

On white

8.53
#762F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#762F7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762F7B
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762F7B#FFFFFF#000000##FFFFFF
##762F7B1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23477D
Deuteranopia (green-blind)
#3C5079
Tritanopia (blue-blind)
#793950
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #762f7b;
/* rgb */ color: rgb(118, 47, 123);
/* oklch */ color: oklch(43.6% 0.141 325.0);
Tailwind
colors: {
  custom: {
    50: '#a06ca1',
    500: '#762f7b',
    950: '#000000',
  },
}
SCSS
$custom: #762f7b;
$custom-light: #a06ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#762f7b",
  "rgb": {
    "r": 118,
    "g": 47,
    "b": 123
  },
  "hsl": {
    "h": 296.053,
    "s": 44.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43611,
    "c": 0.14052,
    "h": 325
  },
  "luminance": 0.07315
}

Semantic roles & 50–950 ramp

primary
#762F7B
secondary
#61AA5C
accent
#D4535C
background
#FAF6F9
surface
#F3ECF2
border
#CDC7CC
text
#0F070F
muted
#7F7A7E

Preview Lab

Preview with #762F7B

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

Preview Lab → · Contrast checker → · Palette generator →

#762F7B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva