#762270#762270

#762270 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.5% C 0.149 H 330.9°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#762270
RGBrgb(118, 34, 112)
HSLhsl(304, 55%, 30%)
HSVhsv(304, 71%, 46%)
CMYKcmyk(0%, 71.2%, 5.1%, 53.7%)
CIE-LABlab(29.83, 45.89, -26.39)
CIE-LCHlch(29.83, 52.94, 330.10°)
OKLaboklab(41.47% 0.1306 -0.0726)
OKLCHoklch(41.47% 0.149 330.9)
XYZxyz(10.9678, 6.1663, 15.9386)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762270 #227628
analogous
#522276 #762270 #762246
triadic
#762270 #707622 #227076
tetradic
#762270 #765222 #227628 #224676
square
#762270 #765222 #227628 #224676
split-complementary
#762270 #467622 #227652
monochromatic
#180717 #461443 #762270 #A6309D #CA48C1

Accessibility & contrast

On white

9.40
#762270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#762270 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762270
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762270#FFFFFF#000000##FFFFFF
##7622701.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #762270;
/* rgb */ color: rgb(118, 34, 112);
/* oklch */ color: oklch(41.5% 0.149 330.9);
Tailwind
colors: {
  custom: {
    50: '#a06599',
    500: '#762270',
    950: '#000000',
  },
}
SCSS
$custom: #762270;
$custom-light: #a06599;
$custom-dark: #000000;
JSON
{
  "hex": "#762270",
  "rgb": {
    "r": 118,
    "g": 34,
    "b": 112
  },
  "hsl": {
    "h": 304.286,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41466,
    "c": 0.14947,
    "h": 330.9
  },
  "luminance": 0.06165
}

Semantic roles & 50–950 ramp

primary
#762270
secondary
#4BA951
accent
#DF5449
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #762270

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

Preview Lab → · Contrast checker → · Palette generator →

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