#4A31C0#4A31C0

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

Color values

HEX#4A31C0
RGBrgb(74, 49, 192)
HSLhsl(250, 59%, 47%)
HSVhsv(250, 74%, 75%)
CMYKcmyk(61.5%, 74.5%, 0%, 24.7%)
CIE-LABlab(32.83, 49.99, -70.72)
CIE-LCHlch(32.83, 86.61, 305.26°)
OKLaboklab(44.29% 0.0423 -0.204)
OKLCHoklch(44.29% 0.208 281.7)
XYZxyz(13.4338, 7.4573, 50.5904)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A31C0 #A7C031
analogous
#315FC0 #4A31C0 #9231C0
triadic
#4A31C0 #C04A31 #31C04A
tetradic
#4A31C0 #C0315F #A7C031 #31C092
square
#4A31C0 #C0315F #A7C031 #31C092
split-complementary
#4A31C0 #C09231 #5FC031
monochromatic
#24185E #37258F #4A31C0 #6F59D5 #998AE1

Accessibility & contrast

On white

8.43
#4A31C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4A31C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A31C0
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A31C0#FFFFFF#000000##FFFFFF
##4A31C01.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.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: #4a31c0;
/* rgb */ color: rgb(74, 49, 192);
/* oklch */ color: oklch(44.3% 0.208 281.7);
Tailwind
colors: {
  custom: {
    50: '#8b6cd4',
    500: '#4a31c0',
    950: '#000000',
  },
}
SCSS
$custom: #4a31c0;
$custom-light: #8b6cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a31c0",
  "rgb": {
    "r": 74,
    "g": 49,
    "b": 192
  },
  "hsl": {
    "h": 250.49,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44292,
    "c": 0.20831,
    "h": 281.7
  },
  "luminance": 0.07458
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4A31C0

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

Preview Lab → · Contrast checker → · Palette generator →

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