#762274#762274

#762274 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.7% C 0.153 H 328.9°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#762274
RGBrgb(118, 34, 116)
HSLhsl(301, 55%, 30%)
HSVhsv(301, 71%, 46%)
CMYKcmyk(0%, 71.2%, 1.7%, 53.7%)
CIE-LABlab(30.05, 46.59, -28.58)
CIE-LCHlch(30.05, 54.66, 328.47°)
OKLaboklab(41.7% 0.1309 -0.079)
OKLCHoklch(41.7% 0.153 328.9)
XYZxyz(11.1955, 6.2574, 17.1377)
Luminance0.0626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762274 #227624
analogous
#4E2276 #762274 #76224A
triadic
#762274 #747622 #227476
tetradic
#762274 #764E22 #227624 #224A76
square
#762274 #764E22 #227624 #224A76
split-complementary
#762274 #4A7622 #22764E
monochromatic
#180717 #461445 #762274 #A630A3 #CA48C7

Accessibility & contrast

On white

9.33
#762274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#762274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762274
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762274#FFFFFF#000000##FFFFFF
##7622741.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174076
Deuteranopia (green-blind)
#394B72
Tritanopia (blue-blind)
#7A2D48
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #762274;
/* rgb */ color: rgb(118, 34, 116);
/* oklch */ color: oklch(41.7% 0.153 328.9);
Tailwind
colors: {
  custom: {
    50: '#a0659c',
    500: '#762274',
    950: '#000000',
  },
}
SCSS
$custom: #762274;
$custom-light: #a0659c;
$custom-dark: #000000;
JSON
{
  "hex": "#762274",
  "rgb": {
    "r": 118,
    "g": 34,
    "b": 116
  },
  "hsl": {
    "h": 301.429,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41701,
    "c": 0.15283,
    "h": 328.9
  },
  "luminance": 0.06257
}

Semantic roles & 50–950 ramp

primary
#762274
secondary
#4BA94D
accent
#DF4D49
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #762274

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

Preview Lab → · Contrast checker → · Palette generator →

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