#4F33AF#4F33AF

#4F33AF is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.4% C 0.185 H 286.2°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#4F33AF
RGBrgb(79, 51, 175)
HSLhsl(254, 55%, 44%)
HSVhsv(254, 71%, 69%)
CMYKcmyk(54.9%, 70.9%, 0%, 31.4%)
CIE-LABlab(32.09, 44.55, -61.85)
CIE-LCHlch(32.09, 76.22, 305.77°)
OKLaboklab(43.4% 0.0516 -0.1778)
OKLCHoklch(43.4% 0.185 286.2)
XYZxyz(12.1438, 7.1244, 41.2844)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F33AF #93AF33
analogous
#3355AF #4F33AF #8D33AF
triadic
#4F33AF #AF4F33 #33AF4F
tetradic
#4F33AF #AF3355 #93AF33 #33AF8D
square
#4F33AF #AF3355 #93AF33 #33AF8D
split-complementary
#4F33AF #AF8D33 #55AF33
monochromatic
#241750 #3A2580 #4F33AF #6E52CD #9682DB

Accessibility & contrast

On white

8.66
#4F33AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F33AF
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F33AF#FFFFFF#000000##FFFFFF
##4F33AF1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0048AD
Tritanopia (blue-blind)
#26546D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4f33af;
/* rgb */ color: rgb(79, 51, 175);
/* oklch */ color: oklch(43.4% 0.185 286.2);
Tailwind
colors: {
  custom: {
    50: '#8a6dc8',
    500: '#4f33af',
    950: '#000000',
  },
}
SCSS
$custom: #4f33af;
$custom-light: #8a6dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f33af",
  "rgb": {
    "r": 79,
    "g": 51,
    "b": 175
  },
  "hsl": {
    "h": 253.548,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43402,
    "c": 0.18517,
    "h": 286.2
  },
  "luminance": 0.07125
}

Semantic roles & 50–950 ramp

primary
#4F33AF
secondary
#B3C47A
accent
#DE4ABD
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4F33AF

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

Preview Lab → · Contrast checker → · Palette generator →

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