#731BB0#731BB0

#731BB0 is a mid, highly saturated violet. Relative luminance 0.076; OKLCH L 45.1% C 0.213 H 305.5°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#731BB0
RGBrgb(115, 27, 176)
HSLhsl(275, 73%, 40%)
HSVhsv(275, 85%, 69%)
CMYKcmyk(34.7%, 84.7%, 0%, 31%)
CIE-LABlab(33.06, 60.52, -60.68)
CIE-LCHlch(33.06, 85.71, 314.92°)
OKLaboklab(45.08% 0.1235 -0.173)
OKLCHoklch(45.08% 0.213 305.5)
XYZxyz(15.2969, 7.5634, 41.7199)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731BB0 #58B01B
analogous
#281BB0 #731BB0 #B01BA3
triadic
#731BB0 #B0731B #1BB073
tetradic
#731BB0 #B0281B #58B01B #1BA3B0
square
#731BB0 #B0281B #58B01B #1BA3B0
split-complementary
#731BB0 #A3B01B #1BB028
monochromatic
#2E0B46 #50137B #731BB0 #942ADE #AF5FE6

Accessibility & contrast

On white

8.36
#731BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#731BB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731BB0
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731BB0#FFFFFF#000000##FFFFFF
##731BB01.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB4
Deuteranopia (green-blind)
#004EAD
Tritanopia (blue-blind)
#674669
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #731bb0;
/* rgb */ color: rgb(115, 27, 176);
/* oklch */ color: oklch(45.1% 0.213 305.5);
Tailwind
colors: {
  custom: {
    50: '#a265c9',
    500: '#731bb0',
    950: '#000000',
  },
}
SCSS
$custom: #731bb0;
$custom-light: #a265c9;
$custom-dark: #000000;
JSON
{
  "hex": "#731bb0",
  "rgb": {
    "r": 115,
    "g": 27,
    "b": 176
  },
  "hsl": {
    "h": 275.436,
    "s": 73.399,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45082,
    "c": 0.21258,
    "h": 305.5
  },
  "luminance": 0.07563
}

Semantic roles & 50–950 ramp

primary
#731BB0
secondary
#89CB5C
accent
#F03883
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100613
muted
#7F7A82

Preview Lab

Preview with #731BB0

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

Preview Lab → · Contrast checker → · Palette generator →

#731BB0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva