#731263#731263

#731263 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.9% C 0.156 H 336.2°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#731263
RGBrgb(115, 18, 99)
HSLhsl(310, 73%, 26%)
HSVhsv(310, 84%, 45%)
CMYKcmyk(0%, 84.3%, 13.9%, 54.9%)
CIE-LABlab(26.68, 48.41, -23.00)
CIE-LCHlch(26.68, 53.60, 334.59°)
OKLaboklab(38.86% 0.1423 -0.0628)
OKLCHoklch(38.86% 0.156 336.2)
XYZxyz(9.5388, 4.9792, 12.2607)
Luminance0.0498 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731263 #127322
analogous
#521273 #731263 #731232
triadic
#731263 #637312 #126373
tetradic
#731263 #735212 #127322 #123273
square
#731263 #735212 #127322 #123273
split-complementary
#731263 #327312 #127352
monochromatic
#1A0417 #3E0A35 #731263 #A81A91 #DD23BE

Accessibility & contrast

On white

10.52
#731263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#731263 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731263
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731263#FFFFFF#000000##FFFFFF
##7312631.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143665
Deuteranopia (green-blind)
#384461
Tritanopia (blue-blind)
#791A3A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #731263;
/* rgb */ color: rgb(115, 18, 99);
/* oklch */ color: oklch(38.9% 0.156 336.2);
Tailwind
colors: {
  custom: {
    50: '#9f5e8f',
    500: '#731263',
    950: '#000000',
  },
}
SCSS
$custom: #731263;
$custom-light: #9f5e8f;
$custom-dark: #000000;
JSON
{
  "hex": "#731263",
  "rgb": {
    "r": 115,
    "g": 18,
    "b": 99
  },
  "hsl": {
    "h": 309.897,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.38863,
    "c": 0.15556,
    "h": 336.2
  },
  "luminance": 0.04978
}

Semantic roles & 50–950 ramp

primary
#731263
secondary
#37AA4A
accent
#F05638
background
#FAF5F8
surface
#F4EAF0
border
#CEC6CB
text
#0F050C
muted
#7F797D

Preview Lab

Preview with #731263

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

Preview Lab → · Contrast checker → · Palette generator →

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