#761268#761268

#761268 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.7% C 0.161 H 334.9°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#761268
RGBrgb(118, 18, 104)
HSLhsl(308, 74%, 27%)
HSVhsv(308, 85%, 46%)
CMYKcmyk(0%, 84.7%, 11.9%, 53.7%)
CIE-LABlab(27.53, 49.87, -24.87)
CIE-LCHlch(27.53, 55.72, 333.50°)
OKLaboklab(39.67% 0.1457 -0.0681)
OKLCHoklch(39.67% 0.161 334.9)
XYZxyz(10.1864, 5.2846, 13.5776)
Luminance0.0528 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761268 #127620
analogous
#521276 #761268 #761236
triadic
#761268 #687612 #126876
tetradic
#761268 #765212 #127620 #123676
square
#761268 #765212 #127620 #123676
split-complementary
#761268 #367612 #127652
monochromatic
#1B0417 #410A39 #761268 #AB1A97 #DE25C4

Accessibility & contrast

On white

10.21
#761268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#761268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761268
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761268#FFFFFF#000000##FFFFFF
##7612681.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11386A
Deuteranopia (green-blind)
#384666
Tritanopia (blue-blind)
#7C1C3D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #761268;
/* rgb */ color: rgb(118, 18, 104);
/* oklch */ color: oklch(39.7% 0.161 334.9);
Tailwind
colors: {
  custom: {
    50: '#a15f93',
    500: '#761268',
    950: '#000000',
  },
}
SCSS
$custom: #761268;
$custom-light: #a15f93;
$custom-dark: #000000;
JSON
{
  "hex": "#761268",
  "rgb": {
    "r": 118,
    "g": 18,
    "b": 104
  },
  "hsl": {
    "h": 308.4,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.39672,
    "c": 0.16081,
    "h": 334.9
  },
  "luminance": 0.05284
}

Semantic roles & 50–950 ramp

primary
#761268
secondary
#37AD48
accent
#F05138
background
#FAF5F9
surface
#F4EAF1
border
#CEC6CB
text
#0F050D
muted
#7F797E

Preview Lab

Preview with #761268

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

Preview Lab → · Contrast checker → · Palette generator →

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