#762277#762277

#762277 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.9% C 0.155 H 327.4°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#762277
RGBrgb(118, 34, 119)
HSLhsl(299, 56%, 30%)
HSVhsv(299, 71%, 47%)
CMYKcmyk(0.8%, 71.4%, 0%, 53.3%)
CIE-LABlab(30.23, 47.13, -30.21)
CIE-LCHlch(30.23, 55.99, 327.34°)
OKLaboklab(41.88% 0.131 -0.0837)
OKLCHoklch(41.88% 0.155 327.4)
XYZxyz(11.3728, 6.3283, 18.0717)
Luminance0.0633 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762277 #237722
analogous
#4B2277 #762277 #77224E
triadic
#762277 #777622 #227776
tetradic
#762277 #774B22 #237722 #224E77
square
#762277 #774B22 #237722 #224E77
split-complementary
#762277 #4E7722 #22774B
monochromatic
#180718 #471447 #762277 #A530A7 #C949CB

Accessibility & contrast

On white

9.27
#762277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#762277 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762277
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762277#FFFFFF#000000##FFFFFF
##7622771.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134079
Deuteranopia (green-blind)
#374B75
Tritanopia (blue-blind)
#7A2F4A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #762277;
/* rgb */ color: rgb(118, 34, 119);
/* oklch */ color: oklch(41.9% 0.155 327.4);
Tailwind
colors: {
  custom: {
    50: '#a0659e',
    500: '#762277',
    950: '#000000',
  },
}
SCSS
$custom: #762277;
$custom-light: #a0659e;
$custom-dark: #000000;
JSON
{
  "hex": "#762277",
  "rgb": {
    "r": 118,
    "g": 34,
    "b": 119
  },
  "hsl": {
    "h": 299.294,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.41882,
    "c": 0.1554,
    "h": 327.4
  },
  "luminance": 0.06328
}

Semantic roles & 50–950 ramp

primary
#762277
secondary
#4CAA4B
accent
#DF494B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #762277

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

Preview Lab → · Contrast checker → · Palette generator →

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