#4F32BE#4F32BE

#4F32BE is a dark, highly saturated violet. Relative luminance 0.077; OKLCH L 44.7% C 0.204 H 283.9°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#4F32BE
RGBrgb(79, 50, 190)
HSLhsl(252, 58%, 47%)
HSVhsv(252, 74%, 75%)
CMYKcmyk(58.4%, 73.7%, 0%, 25.5%)
CIE-LABlab(33.27, 49.53, -68.81)
CIE-LCHlch(33.27, 84.78, 305.75°)
OKLaboklab(44.65% 0.0492 -0.1982)
OKLCHoklch(44.65% 0.204 283.9)
XYZxyz(13.6565, 7.6603, 49.4642)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F32BE #A1BE32
analogous
#325BBE #4F32BE #9532BE
triadic
#4F32BE #BE4F32 #32BE4F
tetradic
#4F32BE #BE325B #A1BE32 #32BE95
square
#4F32BE #BE325B #A1BE32 #32BE95
split-complementary
#4F32BE #BE9532 #5BBE32
monochromatic
#27195D #3B258E #4F32BE #735AD3 #9C8AE0

Accessibility & contrast

On white

8.29
#4F32BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4F32BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F32BE
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F32BE#FFFFFF#000000##FFFFFF
##4F32BE1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C2
Deuteranopia (green-blind)
#004ABB
Tritanopia (blue-blind)
#0C5975
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4f32be;
/* rgb */ color: rgb(79, 50, 190);
/* oklch */ color: oklch(44.7% 0.204 283.9);
Tailwind
colors: {
  custom: {
    50: '#8d6dd3',
    500: '#4f32be',
    950: '#000000',
  },
}
SCSS
$custom: #4f32be;
$custom-light: #8d6dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f32be",
  "rgb": {
    "r": 79,
    "g": 50,
    "b": 190
  },
  "hsl": {
    "h": 252.429,
    "s": 58.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44654,
    "c": 0.20423,
    "h": 283.9
  },
  "luminance": 0.07661
}

Semantic roles & 50–950 ramp

primary
#4F32BE
secondary
#BBCA82
accent
#E246C1
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4F32BE

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

Preview Lab → · Contrast checker → · Palette generator →

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