#731266#731266

#731266 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.0% C 0.158 H 334.6°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#731266
RGBrgb(115, 18, 102)
HSLhsl(308, 73%, 26%)
HSVhsv(308, 84%, 45%)
CMYKcmyk(0%, 84.3%, 11.3%, 54.9%)
CIE-LABlab(26.84, 48.87, -24.69)
CIE-LCHlch(26.84, 54.76, 333.20°)
OKLaboklab(39.04% 0.1425 -0.0677)
OKLCHoklch(39.04% 0.158 334.6)
XYZxyz(9.6849, 5.0376, 13.0301)
Luminance0.0504 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731266 #12731F
analogous
#4F1273 #731266 #731235
triadic
#731266 #667312 #126673
tetradic
#731266 #734F12 #12731F #123573
square
#731266 #734F12 #12731F #123573
split-complementary
#731266 #357312 #12734F
monochromatic
#1A0417 #3E0A37 #731266 #A81A95 #DD23C4

Accessibility & contrast

On white

10.46
#731266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#731266 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731266
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731266#FFFFFF#000000##FFFFFF
##7312661.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103768
Deuteranopia (green-blind)
#374464
Tritanopia (blue-blind)
#791C3C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #731266;
/* rgb */ color: rgb(115, 18, 102);
/* oklch */ color: oklch(39.0% 0.158 334.6);
Tailwind
colors: {
  custom: {
    50: '#9f5e92',
    500: '#731266',
    950: '#000000',
  },
}
SCSS
$custom: #731266;
$custom-light: #9f5e92;
$custom-dark: #000000;
JSON
{
  "hex": "#731266",
  "rgb": {
    "r": 115,
    "g": 18,
    "b": 102
  },
  "hsl": {
    "h": 308.041,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.39036,
    "c": 0.15774,
    "h": 334.6
  },
  "luminance": 0.05037
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #731266

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

Preview Lab → · Contrast checker → · Palette generator →

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