#4B31C0#4B31C0

#4B31C0 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.4% C 0.208 H 282.1°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#4B31C0
RGBrgb(75, 49, 192)
HSLhsl(251, 59%, 47%)
HSVhsv(251, 74%, 75%)
CMYKcmyk(60.9%, 74.5%, 0%, 24.7%)
CIE-LABlab(32.91, 50.12, -70.58)
CIE-LCHlch(32.91, 86.56, 305.38°)
OKLaboklab(44.38% 0.0437 -0.2035)
OKLCHoklch(44.38% 0.208 282.1)
XYZxyz(13.5114, 7.4973, 50.5941)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B31C0 #A6C031
analogous
#315FC0 #4B31C0 #9331C0
triadic
#4B31C0 #C04B31 #31C04B
tetradic
#4B31C0 #C0315F #A6C031 #31C093
square
#4B31C0 #C0315F #A6C031 #31C093
split-complementary
#4B31C0 #C09331 #5FC031
monochromatic
#25185E #38258F #4B31C0 #7059D5 #9A8AE1

Accessibility & contrast

On white

8.40
#4B31C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4B31C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B31C0
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B31C0#FFFFFF#000000##FFFFFF
##4B31C01.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C4
Deuteranopia (green-blind)
#0048BD
Tritanopia (blue-blind)
#005976
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4b31c0;
/* rgb */ color: rgb(75, 49, 192);
/* oklch */ color: oklch(44.4% 0.208 282.1);
Tailwind
colors: {
  custom: {
    50: '#8b6cd4',
    500: '#4b31c0',
    950: '#000000',
  },
}
SCSS
$custom: #4b31c0;
$custom-light: #8b6cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#4b31c0",
  "rgb": {
    "r": 75,
    "g": 49,
    "b": 192
  },
  "hsl": {
    "h": 250.909,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44375,
    "c": 0.20815,
    "h": 282.1
  },
  "luminance": 0.07498
}

Semantic roles & 50–950 ramp

primary
#4B31C0
secondary
#BECB82
accent
#E345C6
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4B31C0

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

Preview Lab → · Contrast checker → · Palette generator →

#4B31C0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva