#4D2CB0#4D2CB0

#4D2CB0 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.4% C 0.194 H 286.2°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#4D2CB0
RGBrgb(77, 44, 176)
HSLhsl(255, 60%, 43%)
HSVhsv(255, 75%, 69%)
CMYKcmyk(56.2%, 75%, 0%, 31%)
CIE-LABlab(30.67, 48.23, -64.77)
CIE-LCHlch(30.67, 80.76, 306.67°)
OKLaboklab(42.38% 0.0541 -0.1864)
OKLCHoklch(42.38% 0.194 286.2)
XYZxyz(11.7954, 6.5131, 41.7015)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2CB0 #8FB02C
analogous
#2C4DB0 #4D2CB0 #8F2CB0
triadic
#4D2CB0 #B04D2C #2CB04D
tetradic
#4D2CB0 #B02C4D #8FB02C #2CB08F
square
#4D2CB0 #B02C4D #8FB02C #2CB08F
split-complementary
#4D2CB0 #B08F2C #4DB02C
monochromatic
#22144E #38207F #4D2CB0 #6A48D1 #9279DD

Accessibility & contrast

On white

9.12
#4D2CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4D2CB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2CB0
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2CB0#FFFFFF#000000##FFFFFF
##4D2CB01.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB4
Deuteranopia (green-blind)
#0044AE
Tritanopia (blue-blind)
#1F516C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4d2cb0;
/* rgb */ color: rgb(77, 44, 176);
/* oklch */ color: oklch(42.4% 0.194 286.2);
Tailwind
colors: {
  custom: {
    50: '#8a69c9',
    500: '#4d2cb0',
    950: '#000000',
  },
}
SCSS
$custom: #4d2cb0;
$custom-light: #8a69c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2cb0",
  "rgb": {
    "r": 77,
    "g": 44,
    "b": 176
  },
  "hsl": {
    "h": 255,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42379,
    "c": 0.19415,
    "h": 286.2
  },
  "luminance": 0.06514
}

Semantic roles & 50–950 ramp

primary
#4D2CB0
secondary
#B1C672
accent
#E345BC
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4D2CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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