#771268#771268

#771268 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.8% C 0.161 H 335.4°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#771268
RGBrgb(119, 18, 104)
HSLhsl(309, 74%, 27%)
HSVhsv(309, 85%, 47%)
CMYKcmyk(0%, 84.9%, 12.6%, 53.3%)
CIE-LABlab(27.72, 50.09, -24.55)
CIE-LCHlch(27.72, 55.79, 333.89°)
OKLaboklab(39.85% 0.1467 -0.0672)
OKLCHoklch(39.85% 0.161 335.4)
XYZxyz(10.3229, 5.3550, 13.5840)
Luminance0.0535 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771268 #127721
analogous
#541277 #771268 #771236
triadic
#771268 #687712 #126877
tetradic
#771268 #775412 #127721 #123677
square
#771268 #775412 #127721 #123677
split-complementary
#771268 #367712 #127754
monochromatic
#1B0417 #420A3A #771268 #AC1A96 #DE25C3

Accessibility & contrast

On white

10.14
#771268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#771268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771268
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771268#FFFFFF#000000##FFFFFF
##7712681.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12386A
Deuteranopia (green-blind)
#394766
Tritanopia (blue-blind)
#7D1C3D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #771268;
/* rgb */ color: rgb(119, 18, 104);
/* oklch */ color: oklch(39.8% 0.161 335.4);
Tailwind
colors: {
  custom: {
    50: '#a25f93',
    500: '#771268',
    950: '#000000',
  },
}
SCSS
$custom: #771268;
$custom-light: #a25f93;
$custom-dark: #000000;
JSON
{
  "hex": "#771268",
  "rgb": {
    "r": 119,
    "g": 18,
    "b": 104
  },
  "hsl": {
    "h": 308.911,
    "s": 73.723,
    "l": 26.863
  },
  "oklch": {
    "l": 0.39845,
    "c": 0.16135,
    "h": 335.4
  },
  "luminance": 0.05354
}

Semantic roles & 50–950 ramp

primary
#771268
secondary
#37AD49
accent
#F05337
background
#FAF5F9
surface
#F4EAF1
border
#CEC6CB
text
#0F050D
muted
#7F797E

Preview Lab

Preview with #771268

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

Preview Lab → · Contrast checker → · Palette generator →

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