#4733AB#4733AB

#4733AB is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.3% C 0.181 H 283.1°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#4733AB
RGBrgb(71, 51, 171)
HSLhsl(250, 54%, 44%)
HSVhsv(250, 70%, 67%)
CMYKcmyk(58.5%, 70.2%, 0%, 32.9%)
CIE-LABlab(30.99, 42.09, -61.28)
CIE-LCHlch(30.99, 74.34, 304.48°)
OKLaboklab(42.33% 0.0409 -0.1764)
OKLCHoklch(42.33% 0.181 283.1)
XYZxyz(11.1308, 6.6468, 39.2166)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4733AB #97AB33
analogous
#335BAB #4733AB #8333AB
triadic
#4733AB #AB4733 #33AB47
tetradic
#4733AB #AB335B #97AB33 #33AB83
square
#4733AB #AB335B #97AB33 #33AB83
split-complementary
#4733AB #AB8333 #5BAB33
monochromatic
#20174D #33257C #4733AB #6550CB #8E7FD9

Accessibility & contrast

On white

9.01
#4733AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4733AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4733AB
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4733AB#FFFFFF#000000##FFFFFF
##4733AB1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAF
Deuteranopia (green-blind)
#0045A9
Tritanopia (blue-blind)
#0C536B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4733ab;
/* rgb */ color: rgb(71, 51, 171);
/* oklch */ color: oklch(42.3% 0.181 283.1);
Tailwind
colors: {
  custom: {
    50: '#856dc5',
    500: '#4733ab',
    950: '#000000',
  },
}
SCSS
$custom: #4733ab;
$custom-light: #856dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#4733ab",
  "rgb": {
    "r": 71,
    "g": 51,
    "b": 171
  },
  "hsl": {
    "h": 250,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42326,
    "c": 0.18114,
    "h": 283.1
  },
  "luminance": 0.06648
}

Semantic roles & 50–950 ramp

primary
#4733AB
secondary
#B6C278
accent
#DD4AC5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4733AB

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

Preview Lab → · Contrast checker → · Palette generator →

#4733AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva