#762495#762495

#762495 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.1% C 0.180 H 314.8°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#762495
RGBrgb(118, 36, 149)
HSLhsl(284, 61%, 36%)
HSVhsv(284, 76%, 58%)
CMYKcmyk(20.8%, 75.8%, 0%, 41.6%)
CIE-LABlab(32.44, 52.23, -45.33)
CIE-LCHlch(32.44, 69.16, 319.04°)
OKLaboklab(44.09% 0.1269 -0.1279)
OKLCHoklch(44.09% 0.18 314.8)
XYZxyz(13.5260, 7.2837, 29.1213)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762495 #439524
analogous
#3E2495 #762495 #95247C
triadic
#762495 #957624 #249576
tetradic
#762495 #953E24 #439524 #247C95
square
#762495 #953E24 #439524 #247C95
split-complementary
#762495 #7C9524 #24953E
monochromatic
#280C32 #4F1864 #762495 #9D30C6 #B65CD8

Accessibility & contrast

On white

8.55
#762495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#762495 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762495
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762495#FFFFFF#000000##FFFFFF
##7624951.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004898
Deuteranopia (green-blind)
#1E4E93
Tritanopia (blue-blind)
#733D5B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #762495;
/* rgb */ color: rgb(118, 36, 149);
/* oklch */ color: oklch(44.1% 0.180 314.8);
Tailwind
colors: {
  custom: {
    50: '#a168b5',
    500: '#762495',
    950: '#000000',
  },
}
SCSS
$custom: #762495;
$custom-light: #a168b5;
$custom-dark: #000000;
JSON
{
  "hex": "#762495",
  "rgb": {
    "r": 118,
    "g": 36,
    "b": 149
  },
  "hsl": {
    "h": 283.54,
    "s": 61.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44086,
    "c": 0.18014,
    "h": 314.8
  },
  "luminance": 0.07283
}

Semantic roles & 50–950 ramp

primary
#762495
secondary
#74BC59
accent
#E44470
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #762495

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

Preview Lab → · Contrast checker → · Palette generator →

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