#762281#762281

#762281 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.5% C 0.164 H 322.8°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#762281
RGBrgb(118, 34, 129)
HSLhsl(293, 58%, 32%)
HSVhsv(293, 74%, 51%)
CMYKcmyk(8.5%, 73.6%, 0%, 49.4%)
CIE-LABlab(30.83, 49.00, -35.54)
CIE-LCHlch(30.83, 60.53, 324.05°)
OKLaboklab(42.51% 0.1308 -0.0992)
OKLCHoklch(42.51% 0.164 322.8)
XYZxyz(12.0053, 6.5813, 21.4026)
Luminance0.0658 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762281 #2D8122
analogous
#472281 #762281 #81225D
triadic
#762281 #817622 #228176
tetradic
#762281 #814722 #2D8122 #225D81
square
#762281 #814722 #2D8122 #225D81
split-complementary
#762281 #5D8122 #228147
monochromatic
#1D0820 #4A1551 #762281 #A22FB1 #C14DD0

Accessibility & contrast

On white

9.07
#762281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #762281
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762281#FFFFFF#000000##FFFFFF
##7622811.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004284
Deuteranopia (green-blind)
#314C7F
Tritanopia (blue-blind)
#78334F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #762281;
/* rgb */ color: rgb(118, 34, 129);
/* oklch */ color: oklch(42.5% 0.164 322.8);
Tailwind
colors: {
  custom: {
    50: '#a166a6',
    500: '#762281',
    950: '#000000',
  },
}
SCSS
$custom: #762281;
$custom-light: #a166a6;
$custom-dark: #000000;
JSON
{
  "hex": "#762281",
  "rgb": {
    "r": 118,
    "g": 34,
    "b": 129
  },
  "hsl": {
    "h": 293.053,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42513,
    "c": 0.16416,
    "h": 322.8
  },
  "luminance": 0.06581
}

Semantic roles & 50–950 ramp

primary
#762281
secondary
#57B34B
accent
#E14658
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #762281

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

Preview Lab → · Contrast checker → · Palette generator →

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