#731267#731267

#731267 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.1% C 0.158 H 334.1°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#731267
RGBrgb(115, 18, 103)
HSLhsl(307, 73%, 26%)
HSVhsv(307, 84%, 45%)
CMYKcmyk(0%, 84.3%, 10.4%, 54.9%)
CIE-LABlab(26.90, 49.03, -25.25)
CIE-LCHlch(26.90, 55.15, 332.75°)
OKLaboklab(39.1% 0.1425 -0.0693)
OKLCHoklch(39.1% 0.158 334.1)
XYZxyz(9.7348, 5.0576, 13.2929)
Luminance0.0506 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731267 #12731E
analogous
#4E1273 #731267 #731236
triadic
#731267 #677312 #126773
tetradic
#731267 #734E12 #12731E #123673
square
#731267 #734E12 #12731E #123673
split-complementary
#731267 #367312 #12734E
monochromatic
#1A0418 #3E0A38 #731267 #A81A96 #DD23C6

Accessibility & contrast

On white

10.44
#731267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #731267
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731267#FFFFFF#000000##FFFFFF
##7312671.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3769
Deuteranopia (green-blind)
#364465
Tritanopia (blue-blind)
#791D3D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #731267;
/* rgb */ color: rgb(115, 18, 103);
/* oklch */ color: oklch(39.1% 0.158 334.1);
Tailwind
colors: {
  custom: {
    50: '#9f5e92',
    500: '#731267',
    950: '#000000',
  },
}
SCSS
$custom: #731267;
$custom-light: #9f5e92;
$custom-dark: #000000;
JSON
{
  "hex": "#731267",
  "rgb": {
    "r": 115,
    "g": 18,
    "b": 103
  },
  "hsl": {
    "h": 307.423,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.39095,
    "c": 0.15848,
    "h": 334.1
  },
  "luminance": 0.05057
}

Semantic roles & 50–950 ramp

primary
#731267
secondary
#37AA45
accent
#F04F38
background
#FAF5F9
surface
#F4EAF1
border
#CEC6CB
text
#0F050D
muted
#7F797E

Preview Lab

Preview with #731267

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

Preview Lab → · Contrast checker → · Palette generator →

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