#4D2CAF#4D2CAF

#4D2CAF is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.3% C 0.193 H 286.4°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#4D2CAF
RGBrgb(77, 44, 175)
HSLhsl(255, 60%, 43%)
HSVhsv(255, 75%, 69%)
CMYKcmyk(56%, 74.9%, 0%, 31.4%)
CIE-LABlab(30.58, 47.94, -64.33)
CIE-LCHlch(30.58, 80.23, 306.69°)
OKLaboklab(42.28% 0.0544 -0.1851)
OKLCHoklch(42.28% 0.193 286.4)
XYZxyz(11.6968, 6.4736, 41.1823)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2CAF #8EAF2C
analogous
#2C4CAF #4D2CAF #8F2CAF
triadic
#4D2CAF #AF4D2C #2CAF4D
tetradic
#4D2CAF #AF2C4C #8EAF2C #2CAF8F
square
#4D2CAF #AF2C4C #8EAF2C #2CAF8F
split-complementary
#4D2CAF #AF8F2C #4CAF2C
monochromatic
#22134D #37207E #4D2CAF #6A47D1 #9278DD

Accessibility & contrast

On white

9.15
#4D2CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#4D2CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2CAF
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2CAF#FFFFFF#000000##FFFFFF
##4D2CAF1.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB3
Deuteranopia (green-blind)
#0044AD
Tritanopia (blue-blind)
#20506B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4d2caf;
/* rgb */ color: rgb(77, 44, 175);
/* oklch */ color: oklch(42.3% 0.193 286.4);
Tailwind
colors: {
  custom: {
    50: '#8a69c8',
    500: '#4d2caf',
    950: '#000000',
  },
}
SCSS
$custom: #4d2caf;
$custom-light: #8a69c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2caf",
  "rgb": {
    "r": 77,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 255.115,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.42284,
    "c": 0.19297,
    "h": 286.4
  },
  "luminance": 0.06474
}

Semantic roles & 50–950 ramp

primary
#4D2CAF
secondary
#B0C572
accent
#E345BB
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4D2CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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