#4D2FB9#4D2FB9

#4D2FB9 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 43.6% C 0.202 H 284.3°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#4D2FB9
RGBrgb(77, 47, 185)
HSLhsl(253, 59%, 45%)
HSVhsv(253, 75%, 73%)
CMYKcmyk(58.4%, 74.6%, 0%, 27.5%)
CIE-LABlab(32.06, 49.33, -67.84)
CIE-LCHlch(32.06, 83.88, 306.02°)
OKLaboklab(43.62% 0.0497 -0.1954)
OKLCHoklch(43.62% 0.202 284.3)
XYZxyz(12.8314, 7.1128, 46.5863)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2FB9 #9BB92F
analogous
#2F56B9 #4D2FB9 #922FB9
triadic
#4D2FB9 #B94D2F #2FB94D
tetradic
#4D2FB9 #B92F56 #9BB92F #2FB992
square
#4D2FB9 #B92F56 #9BB92F #2FB992
split-complementary
#4D2FB9 #B9922F #56B92F
monochromatic
#241657 #392388 #4D2FB9 #6E52D3 #9783DF

Accessibility & contrast

On white

8.67
#4D2FB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D2FB9
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2FB9#FFFFFF#000000##FFFFFF
##4D2FB91.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBD
Deuteranopia (green-blind)
#0047B6
Tritanopia (blue-blind)
#0E5672
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4d2fb9;
/* rgb */ color: rgb(77, 47, 185);
/* oklch */ color: oklch(43.6% 0.202 284.3);
Tailwind
colors: {
  custom: {
    50: '#8b6bcf',
    500: '#4d2fb9',
    950: '#000000',
  },
}
SCSS
$custom: #4d2fb9;
$custom-light: #8b6bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2fb9",
  "rgb": {
    "r": 77,
    "g": 47,
    "b": 185
  },
  "hsl": {
    "h": 253.043,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.43617,
    "c": 0.20165,
    "h": 284.3
  },
  "luminance": 0.07114
}

Semantic roles & 50–950 ramp

primary
#4D2FB9
secondary
#B8C97B
accent
#E345C0
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4D2FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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