#731CB0#731CB0

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

Color values

HEX#731CB0
RGBrgb(115, 28, 176)
HSLhsl(275, 73%, 40%)
HSVhsv(275, 84%, 69%)
CMYKcmyk(34.7%, 84.1%, 0%, 31%)
CIE-LABlab(33.16, 60.23, -60.52)
CIE-LCHlch(33.16, 85.38, 314.86°)
OKLaboklab(45.15% 0.1229 -0.1725)
OKLCHoklch(45.15% 0.212 305.5)
XYZxyz(15.3202, 7.6100, 41.7277)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731CB0 #59B01C
analogous
#291CB0 #731CB0 #B01CA3
triadic
#731CB0 #B0731C #1CB073
tetradic
#731CB0 #B0291C #59B01C #1CA3B0
square
#731CB0 #B0291C #59B01C #1CA3B0
split-complementary
#731CB0 #A3B01C #1CB029
monochromatic
#2E0B46 #50147B #731CB0 #942CDD #AF61E6

Accessibility & contrast

On white

8.33
#731CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#731CB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731CB0
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731CB0#FFFFFF#000000##FFFFFF
##731CB01.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.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: #731cb0;
/* rgb */ color: rgb(115, 28, 176);
/* oklch */ color: oklch(45.2% 0.212 305.5);
Tailwind
colors: {
  custom: {
    50: '#a265c9',
    500: '#731cb0',
    950: '#000000',
  },
}
SCSS
$custom: #731cb0;
$custom-light: #a265c9;
$custom-dark: #000000;
JSON
{
  "hex": "#731cb0",
  "rgb": {
    "r": 115,
    "g": 28,
    "b": 176
  },
  "hsl": {
    "h": 275.27,
    "s": 72.549,
    "l": 40
  },
  "oklch": {
    "l": 0.45152,
    "c": 0.21182,
    "h": 305.5
  },
  "luminance": 0.0761
}

Semantic roles & 50–950 ramp

primary
#731CB0
secondary
#8ACA5E
accent
#EF3984
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100613
muted
#7F7A82

Preview Lab

Preview with #731CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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