#762282#762282

#762282 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.6% C 0.165 H 322.4°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#762282
RGBrgb(118, 34, 130)
HSLhsl(293, 59%, 32%)
HSVhsv(293, 74%, 51%)
CMYKcmyk(9.2%, 73.8%, 0%, 49%)
CIE-LABlab(30.90, 49.19, -36.06)
CIE-LCHlch(30.90, 60.99, 323.75°)
OKLaboklab(42.58% 0.1308 -0.1007)
OKLCHoklch(42.58% 0.165 322.4)
XYZxyz(12.0721, 6.6080, 21.7544)
Luminance0.0661 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762282 #2E8222
analogous
#462282 #762282 #82225E
triadic
#762282 #827622 #228276
tetradic
#762282 #824622 #2E8222 #225E82
square
#762282 #824622 #2E8222 #225E82
split-complementary
#762282 #5E8222 #228246
monochromatic
#1E0921 #4A1551 #762282 #A22FB3 #C04ED1

Accessibility & contrast

On white

9.05
#762282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#762282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762282
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762282#FFFFFF#000000##FFFFFF
##7622821.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004385
Deuteranopia (green-blind)
#304C80
Tritanopia (blue-blind)
#783350
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #762282;
/* rgb */ color: rgb(118, 34, 130);
/* oklch */ color: oklch(42.6% 0.165 322.4);
Tailwind
colors: {
  custom: {
    50: '#a166a7',
    500: '#762282',
    950: '#000000',
  },
}
SCSS
$custom: #762282;
$custom-light: #a166a7;
$custom-dark: #000000;
JSON
{
  "hex": "#762282",
  "rgb": {
    "r": 118,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 292.5,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42579,
    "c": 0.16506,
    "h": 322.4
  },
  "luminance": 0.06607
}

Semantic roles & 50–950 ramp

primary
#762282
secondary
#59B44C
accent
#E2465A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #762282

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

Preview Lab → · Contrast checker → · Palette generator →

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