#4F32AF#4F32AF

#4F32AF is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.3% C 0.186 H 286.4°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#4F32AF
RGBrgb(79, 50, 175)
HSLhsl(254, 56%, 44%)
HSVhsv(254, 71%, 69%)
CMYKcmyk(54.9%, 71.4%, 0%, 31.4%)
CIE-LABlab(31.89, 45.10, -62.17)
CIE-LCHlch(31.89, 76.80, 305.96°)
OKLaboklab(43.26% 0.0525 -0.1788)
OKLCHoklch(43.26% 0.186 286.4)
XYZxyz(12.1006, 7.0380, 41.2700)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F32AF #92AF32
analogous
#3254AF #4F32AF #8E32AF
triadic
#4F32AF #AF4F32 #32AF4F
tetradic
#4F32AF #AF3254 #92AF32 #32AF8E
square
#4F32AF #AF3254 #92AF32 #32AF8E
split-complementary
#4F32AF #AF8E32 #54AF32
monochromatic
#241750 #3A247F #4F32AF #6E51CD #9581DB

Accessibility & contrast

On white

8.72
#4F32AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4F32AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F32AF
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F32AF#FFFFFF#000000##FFFFFF
##4F32AF1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#0047AD
Tritanopia (blue-blind)
#26536D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4f32af;
/* rgb */ color: rgb(79, 50, 175);
/* oklch */ color: oklch(43.3% 0.186 286.4);
Tailwind
colors: {
  custom: {
    50: '#8a6dc8',
    500: '#4f32af',
    950: '#000000',
  },
}
SCSS
$custom: #4f32af;
$custom-light: #8a6dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f32af",
  "rgb": {
    "r": 79,
    "g": 50,
    "b": 175
  },
  "hsl": {
    "h": 253.92,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43263,
    "c": 0.18631,
    "h": 286.4
  },
  "luminance": 0.07039
}

Semantic roles & 50–950 ramp

primary
#4F32AF
secondary
#B3C479
accent
#DF49BC
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4F32AF

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

Preview Lab → · Contrast checker → · Palette generator →

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