#4D2FB8#4D2FB8

#4D2FB8 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 43.5% C 0.200 H 284.4°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#4D2FB8
RGBrgb(77, 47, 184)
HSLhsl(253, 59%, 45%)
HSVhsv(253, 74%, 72%)
CMYKcmyk(58.2%, 74.5%, 0%, 27.8%)
CIE-LABlab(31.97, 49.04, -67.40)
CIE-LCHlch(31.97, 83.35, 306.04°)
OKLaboklab(43.52% 0.0499 -0.1942)
OKLCHoklch(43.52% 0.2 284.4)
XYZxyz(12.7262, 7.0707, 46.0323)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2FB8 #9AB82F
analogous
#2F55B8 #4D2FB8 #922FB8
triadic
#4D2FB8 #B84D2F #2FB84D
tetradic
#4D2FB8 #B82F55 #9AB82F #2FB892
square
#4D2FB8 #B82F55 #9AB82F #2FB892
split-complementary
#4D2FB8 #B8922F #55B82F
monochromatic
#241657 #392387 #4D2FB8 #6E52D3 #9782DF

Accessibility & contrast

On white

8.70
#4D2FB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D2FB8
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2FB8#FFFFFF#000000##FFFFFF
##4D2FB81.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBC
Deuteranopia (green-blind)
#0047B5
Tritanopia (blue-blind)
#105571
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4d2fb8;
/* rgb */ color: rgb(77, 47, 184);
/* oklch */ color: oklch(43.5% 0.200 284.4);
Tailwind
colors: {
  custom: {
    50: '#8b6bce',
    500: '#4d2fb8',
    950: '#000000',
  },
}
SCSS
$custom: #4d2fb8;
$custom-light: #8b6bce;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2fb8",
  "rgb": {
    "r": 77,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 253.139,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.43522,
    "c": 0.20047,
    "h": 284.4
  },
  "luminance": 0.07072
}

Semantic roles & 50–950 ramp

primary
#4D2FB8
secondary
#B7C87B
accent
#E245C0
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4D2FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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