#771267#771267

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

Color values

HEX#771267
RGBrgb(119, 18, 103)
HSLhsl(310, 74%, 27%)
HSVhsv(310, 85%, 47%)
CMYKcmyk(0%, 84.9%, 13.4%, 53.3%)
CIE-LABlab(27.67, 49.94, -23.99)
CIE-LCHlch(27.67, 55.41, 334.34°)
OKLaboklab(39.79% 0.1467 -0.0655)
OKLCHoklch(39.79% 0.161 335.9)
XYZxyz(10.2724, 5.3348, 13.3181)
Luminance0.0533 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771267 #127722
analogous
#551277 #771267 #771235
triadic
#771267 #677712 #126777
tetradic
#771267 #775512 #127722 #123577
square
#771267 #775512 #127722 #123577
split-complementary
#771267 #357712 #127755
monochromatic
#1B0417 #420A39 #771267 #AC1A95 #DE25C1

Accessibility & contrast

On white

10.16
#771267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #771267
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771267#FFFFFF#000000##FFFFFF
##7712671.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133869
Deuteranopia (green-blind)
#3A4765
Tritanopia (blue-blind)
#7E1B3D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #771267;
/* rgb */ color: rgb(119, 18, 103);
/* oklch */ color: oklch(39.8% 0.161 335.9);
Tailwind
colors: {
  custom: {
    50: '#a25f92',
    500: '#771267',
    950: '#000000',
  },
}
SCSS
$custom: #771267;
$custom-light: #a25f92;
$custom-dark: #000000;
JSON
{
  "hex": "#771267",
  "rgb": {
    "r": 119,
    "g": 18,
    "b": 103
  },
  "hsl": {
    "h": 309.505,
    "s": 73.723,
    "l": 26.863
  },
  "oklch": {
    "l": 0.39788,
    "c": 0.16063,
    "h": 335.9
  },
  "luminance": 0.05334
}

Semantic roles & 50–950 ramp

primary
#771267
secondary
#37AD4A
accent
#F05537
background
#FAF5F9
surface
#F4EAF1
border
#CEC6CB
text
#0F050D
muted
#7F797E

Preview Lab

Preview with #771267

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

Preview Lab → · Contrast checker → · Palette generator →

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