#4A33B3#4A33B3

#4A33B3 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.3% C 0.191 H 283.2°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#4A33B3
RGBrgb(74, 51, 179)
HSLhsl(251, 56%, 45%)
HSVhsv(251, 72%, 70%)
CMYKcmyk(58.7%, 71.5%, 0%, 29.8%)
CIE-LABlab(31.98, 45.00, -64.42)
CIE-LCHlch(31.98, 78.58, 304.93°)
OKLaboklab(43.32% 0.0437 -0.1855)
OKLCHoklch(43.32% 0.191 283.2)
XYZxyz(12.1420, 7.0774, 43.3653)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A33B3 #9CB333
analogous
#335CB3 #4A33B3 #8A33B3
triadic
#4A33B3 #B34A33 #33B34A
tetradic
#4A33B3 #B3335C #9CB333 #33B38A
square
#4A33B3 #B3335C #9CB333 #33B38A
split-complementary
#4A33B3 #B38A33 #5CB333
monochromatic
#231854 #362583 #4A33B3 #6B55CE #9484DC

Accessibility & contrast

On white

8.69
#4A33B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4A33B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A33B3
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A33B3#FFFFFF#000000##FFFFFF
##4A33B31.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB7
Deuteranopia (green-blind)
#0047B1
Tritanopia (blue-blind)
#09566F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4a33b3;
/* rgb */ color: rgb(74, 51, 179);
/* oklch */ color: oklch(43.3% 0.191 283.2);
Tailwind
colors: {
  custom: {
    50: '#886dcb',
    500: '#4a33b3',
    950: '#000000',
  },
}
SCSS
$custom: #4a33b3;
$custom-light: #886dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#4a33b3",
  "rgb": {
    "r": 74,
    "g": 51,
    "b": 179
  },
  "hsl": {
    "h": 250.781,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43323,
    "c": 0.19062,
    "h": 283.2
  },
  "luminance": 0.07078
}

Semantic roles & 50–950 ramp

primary
#4A33B3
secondary
#B8C67C
accent
#DF49C4
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0D0713
muted
#7D7A82

Preview Lab

Preview with #4A33B3

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

Preview Lab → · Contrast checker → · Palette generator →

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