#732EAF#732EAF

#732EAF is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.7% C 0.194 H 304.1°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#732EAF
RGBrgb(115, 46, 175)
HSLhsl(272, 58%, 43%)
HSVhsv(272, 74%, 69%)
CMYKcmyk(34.3%, 73.7%, 0%, 31.4%)
CIE-LABlab(35.39, 53.32, -56.29)
CIE-LCHlch(35.39, 77.53, 313.45°)
OKLaboklab(46.69% 0.1085 -0.1602)
OKLCHoklch(46.69% 0.194 304.1)
XYZxyz(15.7833, 8.6940, 41.3957)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732EAF #6AAF2E
analogous
#322EAF #732EAF #AF2EAA
triadic
#732EAF #AF732E #2EAF73
tetradic
#732EAF #AF322E #6AAF2E #2EAAAF
square
#732EAF #AF322E #6AAF2E #2EAAAF
split-complementary
#732EAF #AAAF2E #2EAF32
monochromatic
#33154E #53217F #732EAF #924BD0 #AF7BDC

Accessibility & contrast

On white

7.67
#732EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#732EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732EAF
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732EAF#FFFFFF#000000##FFFFFF
##732EAF1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#0053AC
Tritanopia (blue-blind)
#674E6C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #732eaf;
/* rgb */ color: rgb(115, 46, 175);
/* oklch */ color: oklch(46.7% 0.194 304.1);
Tailwind
colors: {
  custom: {
    50: '#a16dc8',
    500: '#732eaf',
    950: '#000000',
  },
}
SCSS
$custom: #732eaf;
$custom-light: #a16dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#732eaf",
  "rgb": {
    "r": 115,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 272.093,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46687,
    "c": 0.19353,
    "h": 304.1
  },
  "luminance": 0.08694
}

Semantic roles & 50–950 ramp

primary
#732EAF
secondary
#9AC574
accent
#E2468E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #732EAF

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

Preview Lab → · Contrast checker → · Palette generator →

#732EAF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva