#4D2FB0#4D2FB0

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

Color values

HEX#4D2FB0
RGBrgb(77, 47, 176)
HSLhsl(254, 58%, 44%)
HSVhsv(254, 73%, 69%)
CMYKcmyk(56.2%, 73.3%, 0%, 31%)
CIE-LABlab(31.22, 46.68, -63.88)
CIE-LCHlch(31.22, 79.12, 306.16°)
OKLaboklab(42.77% 0.0518 -0.1838)
OKLCHoklch(42.77% 0.191 285.7)
XYZxyz(11.9112, 6.7447, 41.7401)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2FB0 #92B02F
analogous
#2F51B0 #4D2FB0 #8D2FB0
triadic
#4D2FB0 #B04D2F #2FB04D
tetradic
#4D2FB0 #B02F51 #92B02F #2FB08D
square
#4D2FB0 #B02F51 #92B02F #2FB08D
split-complementary
#4D2FB0 #B08D2F #51B02F
monochromatic
#23154F #382280 #4D2FB0 #6B4DCF #937DDC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D2FB0#FFFFFF#000000##FFFFFF
##4D2FB01.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)
#004DB4
Deuteranopia (green-blind)
#0046AE
Tritanopia (blue-blind)
#1F526D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4d2fb0;
/* rgb */ color: rgb(77, 47, 176);
/* oklch */ color: oklch(42.8% 0.191 285.7);
Tailwind
colors: {
  custom: {
    50: '#8a6bc9',
    500: '#4d2fb0',
    950: '#000000',
  },
}
SCSS
$custom: #4d2fb0;
$custom-light: #8a6bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2fb0",
  "rgb": {
    "r": 77,
    "g": 47,
    "b": 176
  },
  "hsl": {
    "h": 253.953,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42765,
    "c": 0.191,
    "h": 285.7
  },
  "luminance": 0.06745
}

Semantic roles & 50–950 ramp

primary
#4D2FB0
secondary
#B3C576
accent
#E147BD
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4D2FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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