#4D2BAF#4D2BAF

#4D2BAF is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.2% C 0.194 H 286.5°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#4D2BAF
RGBrgb(77, 43, 175)
HSLhsl(255, 61%, 43%)
HSVhsv(255, 75%, 69%)
CMYKcmyk(56%, 75.4%, 0%, 31.4%)
CIE-LABlab(30.40, 48.44, -64.62)
CIE-LCHlch(30.40, 80.76, 306.86°)
OKLaboklab(42.16% 0.0552 -0.186)
OKLCHoklch(42.16% 0.194 286.5)
XYZxyz(11.6600, 6.4000, 41.1701)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2BAF #8DAF2B
analogous
#2B4BAF #4D2BAF #8F2BAF
triadic
#4D2BAF #AF4D2B #2BAF4D
tetradic
#4D2BAF #AF2B4B #8DAF2B #2BAF8F
square
#4D2BAF #AF2B4B #8DAF2B #2BAF8F
split-complementary
#4D2BAF #AF8F2B #4BAF2B
monochromatic
#22134D #371F7E #4D2BAF #6A46D1 #9177DE

Accessibility & contrast

On white

9.21
#4D2BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#4D2BAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2BAF
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2BAF#FFFFFF#000000##FFFFFF
##4D2BAF1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.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: #4d2baf;
/* rgb */ color: rgb(77, 43, 175);
/* oklch */ color: oklch(42.2% 0.194 286.5);
Tailwind
colors: {
  custom: {
    50: '#8a68c8',
    500: '#4d2baf',
    950: '#000000',
  },
}
SCSS
$custom: #4d2baf;
$custom-light: #8a68c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2baf",
  "rgb": {
    "r": 77,
    "g": 43,
    "b": 175
  },
  "hsl": {
    "h": 255.455,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.42159,
    "c": 0.194,
    "h": 286.5
  },
  "luminance": 0.06401
}

Semantic roles & 50–950 ramp

primary
#4D2BAF
secondary
#AFC570
accent
#E444BB
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4D2BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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