#4A33B1#4A33B1

#4A33B1 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.1% C 0.188 H 283.5°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#4A33B1
RGBrgb(74, 51, 177)
HSLhsl(251, 55%, 45%)
HSVhsv(251, 71%, 69%)
CMYKcmyk(58.2%, 71.2%, 0%, 30.6%)
CIE-LABlab(31.80, 44.39, -63.53)
CIE-LCHlch(31.80, 77.50, 304.94°)
OKLaboklab(43.14% 0.0441 -0.1829)
OKLCHoklch(43.14% 0.188 283.5)
XYZxyz(11.9412, 6.9971, 42.3078)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A33B1 #9AB133
analogous
#335BB1 #4A33B1 #8933B1
triadic
#4A33B1 #B14A33 #33B14A
tetradic
#4A33B1 #B1335B #9AB133 #33B189
square
#4A33B1 #B1335B #9AB133 #33B189
split-complementary
#4A33B1 #B18933 #5BB133
monochromatic
#221852 #362581 #4A33B1 #6A54CE #9383DB

Accessibility & contrast

On white

8.75
#4A33B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4A33B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A33B1
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A33B1#FFFFFF#000000##FFFFFF
##4A33B11.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB5
Deuteranopia (green-blind)
#0047AF
Tritanopia (blue-blind)
#0F556E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4a33b1;
/* rgb */ color: rgb(74, 51, 177);
/* oklch */ color: oklch(43.1% 0.188 283.5);
Tailwind
colors: {
  custom: {
    50: '#886dc9',
    500: '#4a33b1',
    950: '#000000',
  },
}
SCSS
$custom: #4a33b1;
$custom-light: #886dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a33b1",
  "rgb": {
    "r": 74,
    "g": 51,
    "b": 177
  },
  "hsl": {
    "h": 250.952,
    "s": 55.263,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43138,
    "c": 0.18816,
    "h": 283.5
  },
  "luminance": 0.06998
}

Semantic roles & 50–950 ramp

primary
#4A33B1
secondary
#B7C57B
accent
#DF49C3
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0D0713
muted
#7D7A82

Preview Lab

Preview with #4A33B1

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

Preview Lab → · Contrast checker → · Palette generator →

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