#4F33A5#4F33A5

#4F33A5 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.5% C 0.173 H 288.0°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#4F33A5
RGBrgb(79, 51, 165)
HSLhsl(255, 53%, 42%)
HSVhsv(255, 69%, 65%)
CMYKcmyk(52.1%, 69.1%, 0%, 35.3%)
CIE-LABlab(31.22, 41.57, -57.27)
CIE-LCHlch(31.22, 70.76, 305.98°)
OKLaboklab(42.52% 0.0534 -0.1644)
OKLCHoklch(42.52% 0.173 288)
XYZxyz(11.1978, 6.7460, 36.3021)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F33A5 #89A533
analogous
#3350A5 #4F33A5 #8833A5
triadic
#4F33A5 #A54F33 #33A54F
tetradic
#4F33A5 #A53350 #89A533 #33A588
square
#4F33A5 #A53350 #89A533 #33A588
split-complementary
#4F33A5 #A58833 #50A533
monochromatic
#221648 #392576 #4F33A5 #6B4DC8 #927CD6

Accessibility & contrast

On white

8.94
#4F33A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#4F33A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F33A5
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F33A5#FFFFFF#000000##FFFFFF
##4F33A51.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA8
Deuteranopia (green-blind)
#0046A3
Tritanopia (blue-blind)
#2F5068
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4f33a5;
/* rgb */ color: rgb(79, 51, 165);
/* oklch */ color: oklch(42.5% 0.173 288.0);
Tailwind
colors: {
  custom: {
    50: '#896dc1',
    500: '#4f33a5',
    950: '#000000',
  },
}
SCSS
$custom: #4f33a5;
$custom-light: #896dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f33a5",
  "rgb": {
    "r": 79,
    "g": 51,
    "b": 165
  },
  "hsl": {
    "h": 254.737,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.42515,
    "c": 0.17286,
    "h": 288
  },
  "luminance": 0.06747
}

Semantic roles & 50–950 ramp

primary
#4F33A5
secondary
#ADBF75
accent
#DC4CB9
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4F33A5

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

Preview Lab → · Contrast checker → · Palette generator →

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