#732DBB#732DBB

#732DBB is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.6% C 0.207 H 301.1°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#732DBB
RGBrgb(115, 45, 187)
HSLhsl(270, 61%, 45%)
HSVhsv(270, 76%, 73%)
CMYKcmyk(38.5%, 75.9%, 0%, 26.7%)
CIE-LABlab(36.19, 56.61, -62.09)
CIE-LCHlch(36.19, 84.02, 312.36°)
OKLaboklab(47.55% 0.1068 -0.1773)
OKLCHoklch(47.55% 0.207 301.1)
XYZxyz(16.9761, 9.1093, 47.8680)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732DBB #75BB2D
analogous
#2D2EBB #732DBB #BA2DBB
triadic
#732DBB #BB732D #2DBB73
tetradic
#732DBB #BB2D2E #75BB2D #2DBBBA
square
#732DBB #BB2D2E #75BB2D #2DBBBA
split-complementary
#732DBB #BBBA2D #2EBB2D
monochromatic
#361558 #55218A #732DBB #9250D5 #B182E1

Accessibility & contrast

On white

7.44
#732DBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#732DBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732DBB
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732DBB#FFFFFF#000000##FFFFFF
##732DBB1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#635273
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #732dbb;
/* rgb */ color: rgb(115, 45, 187);
/* oklch */ color: oklch(47.6% 0.207 301.1);
Tailwind
colors: {
  custom: {
    50: '#a26dd0',
    500: '#732dbb',
    950: '#000000',
  },
}
SCSS
$custom: #732dbb;
$custom-light: #a26dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#732dbb",
  "rgb": {
    "r": 115,
    "g": 45,
    "b": 187
  },
  "hsl": {
    "h": 269.577,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47553,
    "c": 0.20696,
    "h": 301.1
  },
  "luminance": 0.09109
}

Semantic roles & 50–950 ramp

primary
#732DBB
secondary
#A2CA7A
accent
#E44395
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #732DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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