#762168#762168

#762168 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.9% C 0.144 H 335.2°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#762168
RGBrgb(118, 33, 104)
HSLhsl(310, 56%, 30%)
HSVhsv(310, 72%, 46%)
CMYKcmyk(0%, 72%, 11.9%, 53.7%)
CIE-LABlab(29.26, 44.93, -22.15)
CIE-LCHlch(29.26, 50.10, 333.76°)
OKLaboklab(40.92% 0.1311 -0.0604)
OKLCHoklch(40.92% 0.144 335.2)
XYZxyz(10.5139, 5.9396, 13.6867)
Luminance0.0594 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762168 #21762F
analogous
#592176 #762168 #76213E
triadic
#762168 #687621 #216876
tetradic
#762168 #765921 #21762F #213E76
square
#762168 #765921 #21762F #213E76
split-complementary
#762168 #3E7621 #217659
monochromatic
#180715 #46143E #762168 #A62E92 #CB46B5

Accessibility & contrast

On white

9.60
#762168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#762168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762168
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762168#FFFFFF#000000##FFFFFF
##7621681.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213D6A
Deuteranopia (green-blind)
#3E4966
Tritanopia (blue-blind)
#7C2741
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #762168;
/* rgb */ color: rgb(118, 33, 104);
/* oklch */ color: oklch(40.9% 0.144 335.2);
Tailwind
colors: {
  custom: {
    50: '#a06493',
    500: '#762168',
    950: '#000000',
  },
}
SCSS
$custom: #762168;
$custom-light: #a06493;
$custom-dark: #000000;
JSON
{
  "hex": "#762168",
  "rgb": {
    "r": 118,
    "g": 33,
    "b": 104
  },
  "hsl": {
    "h": 309.882,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40916,
    "c": 0.14433,
    "h": 335.2
  },
  "luminance": 0.05939
}

Semantic roles & 50–950 ramp

primary
#762168
secondary
#4AA959
accent
#E06148
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #762168

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

Preview Lab → · Contrast checker → · Palette generator →

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