#76238F#76238F

#76238F is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.6% C 0.176 H 317.1°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#76238F
RGBrgb(118, 35, 143)
HSLhsl(286, 61%, 35%)
HSVhsv(286, 76%, 56%)
CMYKcmyk(17.5%, 75.5%, 0%, 43.9%)
CIE-LABlab(31.89, 51.38, -42.54)
CIE-LCHlch(31.89, 66.70, 320.38°)
OKLaboklab(43.56% 0.1286 -0.1197)
OKLCHoklch(43.56% 0.176 317.1)
XYZxyz(13.0294, 7.0373, 26.6533)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76238F #3C8F23
analogous
#40238F #76238F #8F2372
triadic
#76238F #8F7623 #238F76
tetradic
#76238F #8F4023 #3C8F23 #23728F
square
#76238F #8F4023 #3C8F23 #23728F
split-complementary
#76238F #728F23 #238F40
monochromatic
#250B2D #4D175E #76238F #9F2FC0 #B857D6

Accessibility & contrast

On white

8.72
#76238F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#76238F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76238F
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76238F#FFFFFF#000000##FFFFFF
##76238F1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#254D8D
Tritanopia (blue-blind)
#753A57
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #76238f;
/* rgb */ color: rgb(118, 35, 143);
/* oklch */ color: oklch(43.6% 0.176 317.1);
Tailwind
colors: {
  custom: {
    50: '#a167b0',
    500: '#76238f',
    950: '#000000',
  },
}
SCSS
$custom: #76238f;
$custom-light: #a167b0;
$custom-dark: #000000;
JSON
{
  "hex": "#76238f",
  "rgb": {
    "r": 118,
    "g": 35,
    "b": 143
  },
  "hsl": {
    "h": 286.111,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43562,
    "c": 0.1757,
    "h": 317.1
  },
  "luminance": 0.07037
}

Semantic roles & 50–950 ramp

primary
#76238F
secondary
#6CBA54
accent
#E44469
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #76238F

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

Preview Lab → · Contrast checker → · Palette generator →

#76238F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva