#762273#762273

#762273 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.6% C 0.152 H 329.4°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#762273
RGBrgb(118, 34, 115)
HSLhsl(302, 55%, 30%)
HSVhsv(302, 71%, 46%)
CMYKcmyk(0%, 71.2%, 2.5%, 53.7%)
CIE-LABlab(30.00, 46.42, -28.04)
CIE-LCHlch(30.00, 54.23, 328.87°)
OKLaboklab(41.64% 0.1308 -0.0774)
OKLCHoklch(41.64% 0.152 329.4)
XYZxyz(11.1377, 6.2342, 16.8330)
Luminance0.0623 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762273 #227625
analogous
#4F2276 #762273 #762249
triadic
#762273 #737622 #227376
tetradic
#762273 #764F22 #227625 #224976
square
#762273 #764F22 #227625 #224976
split-complementary
#762273 #497622 #22764F
monochromatic
#180717 #461445 #762273 #A630A1 #CA48C6

Accessibility & contrast

On white

9.35
#762273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #762273
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762273#FFFFFF#000000##FFFFFF
##7622731.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183F75
Deuteranopia (green-blind)
#394B71
Tritanopia (blue-blind)
#7A2D48
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #762273;
/* rgb */ color: rgb(118, 34, 115);
/* oklch */ color: oklch(41.6% 0.152 329.4);
Tailwind
colors: {
  custom: {
    50: '#a0659b',
    500: '#762273',
    950: '#000000',
  },
}
SCSS
$custom: #762273;
$custom-light: #a0659b;
$custom-dark: #000000;
JSON
{
  "hex": "#762273",
  "rgb": {
    "r": 118,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 302.143,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41641,
    "c": 0.15199,
    "h": 329.4
  },
  "luminance": 0.06233
}

Semantic roles & 50–950 ramp

primary
#762273
secondary
#4BA94E
accent
#DF4F49
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #762273

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

Preview Lab → · Contrast checker → · Palette generator →

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