#4F33A6#4F33A6

#4F33A6 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.6% C 0.174 H 287.8°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#4F33A6
RGBrgb(79, 51, 166)
HSLhsl(255, 53%, 43%)
HSVhsv(255, 69%, 65%)
CMYKcmyk(52.4%, 69.3%, 0%, 34.9%)
CIE-LABlab(31.31, 41.87, -57.73)
CIE-LCHlch(31.31, 71.32, 305.95°)
OKLaboklab(42.6% 0.0532 -0.1658)
OKLCHoklch(42.6% 0.174 287.8)
XYZxyz(11.2892, 6.7825, 36.7833)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F33A6 #8AA633
analogous
#3350A6 #4F33A6 #8933A6
triadic
#4F33A6 #A64F33 #33A64F
tetradic
#4F33A6 #A63350 #8AA633 #33A689
square
#4F33A6 #A63350 #8AA633 #33A689
split-complementary
#4F33A6 #A68933 #50A633
monochromatic
#221648 #392577 #4F33A6 #6C4EC9 #937CD7

Accessibility & contrast

On white

8.91
#4F33A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4F33A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F33A6
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F33A6#FFFFFF#000000##FFFFFF
##4F33A61.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA9
Deuteranopia (green-blind)
#0047A4
Tritanopia (blue-blind)
#2E5068
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4f33a6;
/* rgb */ color: rgb(79, 51, 166);
/* oklch */ color: oklch(42.6% 0.174 287.8);
Tailwind
colors: {
  custom: {
    50: '#896dc1',
    500: '#4f33a6',
    950: '#000000',
  },
}
SCSS
$custom: #4f33a6;
$custom-light: #896dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f33a6",
  "rgb": {
    "r": 79,
    "g": 51,
    "b": 166
  },
  "hsl": {
    "h": 254.609,
    "s": 52.995,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42602,
    "c": 0.1741,
    "h": 287.8
  },
  "luminance": 0.06783
}

Semantic roles & 50–950 ramp

primary
#4F33A6
secondary
#AEC075
accent
#DC4BB9
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4F33A6

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

Preview Lab → · Contrast checker → · Palette generator →

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