#762870#762870

#762870 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.1% C 0.141 H 330.9°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#762870
RGBrgb(118, 40, 112)
HSLhsl(305, 49%, 31%)
HSVhsv(305, 66%, 46%)
CMYKcmyk(0%, 66.1%, 5.1%, 53.7%)
CIE-LABlab(30.74, 43.35, -24.96)
CIE-LCHlch(30.74, 50.03, 330.07°)
OKLaboklab(42.12% 0.1233 -0.0685)
OKLCHoklch(42.12% 0.141 330.9)
XYZxyz(11.1546, 6.5398, 16.0009)
Luminance0.0654 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762870 #28762E
analogous
#552876 #762870 #762849
triadic
#762870 #707628 #287076
tetradic
#762870 #765528 #28762E #284976
square
#762870 #765528 #28762E #284976
split-complementary
#762870 #497628 #287655
monochromatic
#1B0919 #481945 #762870 #A4379B #C554BC

Accessibility & contrast

On white

9.10
#762870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#762870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762870
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762870#FFFFFF#000000##FFFFFF
##7628701.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234172
Deuteranopia (green-blind)
#3E4C6E
Tritanopia (blue-blind)
#7B3048
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #762870;
/* rgb */ color: rgb(118, 40, 112);
/* oklch */ color: oklch(42.1% 0.141 330.9);
Tailwind
colors: {
  custom: {
    50: '#a06899',
    500: '#762870',
    950: '#000000',
  },
}
SCSS
$custom: #762870;
$custom-light: #a06899;
$custom-dark: #000000;
JSON
{
  "hex": "#762870",
  "rgb": {
    "r": 118,
    "g": 40,
    "b": 112
  },
  "hsl": {
    "h": 304.615,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42123,
    "c": 0.14111,
    "h": 330.9
  },
  "luminance": 0.06539
}

Semantic roles & 50–950 ramp

primary
#762870
secondary
#52A858
accent
#D95A4F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #762870

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

Preview Lab → · Contrast checker → · Palette generator →

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