#762170#762170

#762170 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.4% C 0.151 H 330.9°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#762170
RGBrgb(118, 33, 112)
HSLhsl(304, 56%, 30%)
HSVhsv(304, 72%, 46%)
CMYKcmyk(0%, 72%, 5.1%, 53.7%)
CIE-LABlab(29.69, 46.28, -26.61)
CIE-LCHlch(29.69, 53.39, 330.10°)
OKLaboklab(41.37% 0.1318 -0.0732)
OKLCHoklch(41.37% 0.151 330.9)
XYZxyz(10.9397, 6.1100, 15.9293)
Luminance0.0611 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762170 #217627
analogous
#512176 #762170 #762146
triadic
#762170 #707621 #217076
tetradic
#762170 #765121 #217627 #214676
square
#762170 #765121 #217627 #214676
split-complementary
#762170 #467621 #217651
monochromatic
#180717 #461443 #762170 #A62E9D #CB46C2

Accessibility & contrast

On white

9.45
#762170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#762170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762170
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762170#FFFFFF#000000##FFFFFF
##7621701.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3E72
Deuteranopia (green-blind)
#3A4A6E
Tritanopia (blue-blind)
#7B2B46
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #762170;
/* rgb */ color: rgb(118, 33, 112);
/* oklch */ color: oklch(41.4% 0.151 330.9);
Tailwind
colors: {
  custom: {
    50: '#a06599',
    500: '#762170',
    950: '#000000',
  },
}
SCSS
$custom: #762170;
$custom-light: #a06599;
$custom-dark: #000000;
JSON
{
  "hex": "#762170",
  "rgb": {
    "r": 118,
    "g": 33,
    "b": 112
  },
  "hsl": {
    "h": 304.235,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41365,
    "c": 0.15077,
    "h": 330.9
  },
  "luminance": 0.06109
}

Semantic roles & 50–950 ramp

primary
#762170
secondary
#4AA950
accent
#E05348
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #762170

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

Preview Lab → · Contrast checker → · Palette generator →

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