#762272#762272

#762272 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.6% C 0.151 H 329.9°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#762272
RGBrgb(118, 34, 114)
HSLhsl(303, 55%, 30%)
HSVhsv(303, 71%, 46%)
CMYKcmyk(0%, 71.2%, 3.4%, 53.7%)
CIE-LABlab(29.94, 46.24, -27.49)
CIE-LCHlch(29.94, 53.79, 329.27°)
OKLaboklab(41.58% 0.1308 -0.0758)
OKLCHoklch(41.58% 0.151 329.9)
XYZxyz(11.0804, 6.2113, 16.5316)
Luminance0.0621 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762272 #227626
analogous
#502276 #762272 #762248
triadic
#762272 #727622 #227276
tetradic
#762272 #765022 #227626 #224876
square
#762272 #765022 #227626 #224876
split-complementary
#762272 #487622 #227650
monochromatic
#180717 #461444 #762272 #A630A0 #CA48C4

Accessibility & contrast

On white

9.37
#762272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#762272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762272
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762272#FFFFFF#000000##FFFFFF
##7622721.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193F74
Deuteranopia (green-blind)
#3A4B70
Tritanopia (blue-blind)
#7A2C47
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #762272;
/* rgb */ color: rgb(118, 34, 114);
/* oklch */ color: oklch(41.6% 0.151 329.9);
Tailwind
colors: {
  custom: {
    50: '#a0659b',
    500: '#762272',
    950: '#000000',
  },
}
SCSS
$custom: #762272;
$custom-light: #a0659b;
$custom-dark: #000000;
JSON
{
  "hex": "#762272",
  "rgb": {
    "r": 118,
    "g": 34,
    "b": 114
  },
  "hsl": {
    "h": 302.857,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41582,
    "c": 0.15115,
    "h": 329.9
  },
  "luminance": 0.06211
}

Semantic roles & 50–950 ramp

primary
#762272
secondary
#4BA94F
accent
#DF5049
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #762272

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

Preview Lab → · Contrast checker → · Palette generator →

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