#731895#731895

#731895 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.7% C 0.191 H 314.2°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#731895
RGBrgb(115, 24, 149)
HSLhsl(284, 72%, 34%)
HSVhsv(284, 84%, 58%)
CMYKcmyk(22.8%, 83.9%, 0%, 41.6%)
CIE-LABlab(30.57, 55.71, -48.40)
CIE-LCHlch(30.57, 73.80, 319.02°)
OKLaboklab(42.67% 0.133 -0.1369)
OKLCHoklch(42.67% 0.191 314.2)
XYZxyz(12.8207, 6.4685, 29.0011)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731895 #3A9518
analogous
#351895 #731895 #951879
triadic
#731895 #957318 #189573
tetradic
#731895 #953518 #3A9518 #187995
square
#731895 #953518 #3A9518 #187995
split-complementary
#731895 #799518 #189535
monochromatic
#22072C #4A1060 #731895 #9C20CA #B746E1

Accessibility & contrast

On white

9.16
#731895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#731895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731895
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731895#FFFFFF#000000##FFFFFF
##7318951.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#084A92
Tritanopia (blue-blind)
#703858
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #731895;
/* rgb */ color: rgb(115, 24, 149);
/* oklch */ color: oklch(42.7% 0.191 314.2);
Tailwind
colors: {
  custom: {
    50: '#a062b5',
    500: '#731895',
    950: '#000000',
  },
}
SCSS
$custom: #731895;
$custom-light: #a062b5;
$custom-dark: #000000;
JSON
{
  "hex": "#731895",
  "rgb": {
    "r": 115,
    "g": 24,
    "b": 149
  },
  "hsl": {
    "h": 283.68,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42668,
    "c": 0.19087,
    "h": 314.2
  },
  "luminance": 0.06468
}

Semantic roles & 50–950 ramp

primary
#731895
secondary
#68C246
accent
#EF396A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #731895

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

Preview Lab → · Contrast checker → · Palette generator →

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