#4733AA#4733AA

#4733AA is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.2% C 0.180 H 283.2°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#4733AA
RGBrgb(71, 51, 170)
HSLhsl(250, 54%, 43%)
HSVhsv(250, 70%, 67%)
CMYKcmyk(58.2%, 70%, 0%, 33.3%)
CIE-LABlab(30.90, 41.77, -60.83)
CIE-LCHlch(30.90, 73.79, 304.48°)
OKLaboklab(42.24% 0.0411 -0.1751)
OKLCHoklch(42.24% 0.18 283.2)
XYZxyz(11.0358, 6.6088, 38.7165)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4733AA #96AA33
analogous
#335AAA #4733AA #8233AA
triadic
#4733AA #AA4733 #33AA47
tetradic
#4733AA #AA335A #96AA33 #33AA82
square
#4733AA #AA335A #96AA33 #33AA82
split-complementary
#4733AA #AA8233 #5AAA33
monochromatic
#20174C #33257B #4733AA #6450CA #8E7FD9

Accessibility & contrast

On white

9.04
#4733AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4733AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4733AA#FFFFFF#000000##FFFFFF
##4733AA1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAE
Deuteranopia (green-blind)
#0045A8
Tritanopia (blue-blind)
#0F526A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4733aa;
/* rgb */ color: rgb(71, 51, 170);
/* oklch */ color: oklch(42.2% 0.180 283.2);
Tailwind
colors: {
  custom: {
    50: '#856cc4',
    500: '#4733aa',
    950: '#000000',
  },
}
SCSS
$custom: #4733aa;
$custom-light: #856cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#4733aa",
  "rgb": {
    "r": 71,
    "g": 51,
    "b": 170
  },
  "hsl": {
    "h": 250.084,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42235,
    "c": 0.17988,
    "h": 283.2
  },
  "luminance": 0.0661
}

Semantic roles & 50–950 ramp

primary
#4733AA
secondary
#B5C277
accent
#DD4BC5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4733AA

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

Preview Lab → · Contrast checker → · Palette generator →

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