#762283#762283

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

Color values

HEX#762283
RGBrgb(118, 34, 131)
HSLhsl(292, 59%, 32%)
HSVhsv(292, 74%, 51%)
CMYKcmyk(9.9%, 74%, 0%, 48.6%)
CIE-LABlab(30.96, 49.38, -36.59)
CIE-LCHlch(30.96, 61.46, 323.47°)
OKLaboklab(42.65% 0.1307 -0.1022)
OKLCHoklch(42.65% 0.166 322)
XYZxyz(12.1395, 6.6350, 22.1096)
Luminance0.0663 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762283 #2F8322
analogous
#462283 #762283 #83225F
triadic
#762283 #837622 #228376
tetradic
#762283 #834622 #2F8322 #225F83
square
#762283 #834622 #2F8322 #225F83
split-complementary
#762283 #5F8322 #228346
monochromatic
#1E0922 #4A1552 #762283 #A22FB4 #C04ED1

Accessibility & contrast

On white

9.03
#762283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#762283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762283
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762283#FFFFFF#000000##FFFFFF
##7622831.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004386
Deuteranopia (green-blind)
#2F4C81
Tritanopia (blue-blind)
#773450
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #762283;
/* rgb */ color: rgb(118, 34, 131);
/* oklch */ color: oklch(42.6% 0.166 322.0);
Tailwind
colors: {
  custom: {
    50: '#a166a7',
    500: '#762283',
    950: '#000000',
  },
}
SCSS
$custom: #762283;
$custom-light: #a166a7;
$custom-dark: #000000;
JSON
{
  "hex": "#762283",
  "rgb": {
    "r": 118,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 291.959,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42645,
    "c": 0.16595,
    "h": 322
  },
  "luminance": 0.06634
}

Semantic roles & 50–950 ramp

primary
#762283
secondary
#5AB44C
accent
#E2465B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #762283

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

Preview Lab → · Contrast checker → · Palette generator →

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