#731268#731268

#731268 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.2% C 0.159 H 333.6°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#731268
RGBrgb(115, 18, 104)
HSLhsl(307, 73%, 26%)
HSVhsv(307, 84%, 45%)
CMYKcmyk(0%, 84.3%, 9.6%, 54.9%)
CIE-LABlab(26.96, 49.19, -25.81)
CIE-LCHlch(26.96, 55.55, 332.31°)
OKLaboklab(39.15% 0.1426 -0.0709)
OKLCHoklch(39.15% 0.159 333.6)
XYZxyz(9.7853, 5.0778, 13.5588)
Luminance0.0508 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731268 #12731D
analogous
#4D1273 #731268 #731237
triadic
#731268 #687312 #126873
tetradic
#731268 #734D12 #12731D #123773
square
#731268 #734D12 #12731D #123773
split-complementary
#731268 #377312 #12734D
monochromatic
#1A0418 #3E0A38 #731268 #A81A98 #DD23C7

Accessibility & contrast

On white

10.42
#731268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#731268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731268
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731268#FFFFFF#000000##FFFFFF
##7312681.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #731268;
/* rgb */ color: rgb(115, 18, 104);
/* oklch */ color: oklch(39.2% 0.159 333.6);
Tailwind
colors: {
  custom: {
    50: '#9f5e93',
    500: '#731268',
    950: '#000000',
  },
}
SCSS
$custom: #731268;
$custom-light: #9f5e93;
$custom-dark: #000000;
JSON
{
  "hex": "#731268",
  "rgb": {
    "r": 115,
    "g": 18,
    "b": 104
  },
  "hsl": {
    "h": 306.804,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.39154,
    "c": 0.15922,
    "h": 333.6
  },
  "luminance": 0.05077
}

Semantic roles & 50–950 ramp

primary
#731268
secondary
#37AA44
accent
#F04D38
background
#FAF5F9
surface
#F4EAF1
border
#CEC6CB
text
#0F050D
muted
#7F797E

Preview Lab

Preview with #731268

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

Preview Lab → · Contrast checker → · Palette generator →

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