#4D307C#4D307C

#4D307C is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.5% C 0.124 H 297.9°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#4D307C
RGBrgb(77, 48, 124)
HSLhsl(263, 44%, 34%)
HSVhsv(263, 61%, 49%)
CMYKcmyk(37.9%, 61.3%, 0%, 51.4%)
CIE-LABlab(27.15, 30.87, -38.63)
CIE-LCHlch(27.15, 49.45, 308.63°)
OKLaboklab(38.51% 0.0581 -0.1097)
OKLCHoklch(38.51% 0.124 297.9)
XYZxyz(7.7547, 5.1468, 19.6498)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D307C #5F7C30
analogous
#30397C #4D307C #73307C
triadic
#4D307C #7C4D30 #307C4D
tetradic
#4D307C #7C3039 #5F7C30 #307C73
square
#4D307C #7C3039 #5F7C30 #307C73
split-complementary
#4D307C #7C7330 #397C30
monochromatic
#160E24 #321F50 #4D307C #6841A8 #8864C3

Accessibility & contrast

On white

10.35
#4D307C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4D307C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D307C
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D307C#FFFFFF#000000##FFFFFF
##4D307C1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04407E
Deuteranopia (green-blind)
#133F7A
Tritanopia (blue-blind)
#424051
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4d307c;
/* rgb */ color: rgb(77, 48, 124);
/* oklch */ color: oklch(38.5% 0.124 297.9);
Tailwind
colors: {
  custom: {
    50: '#826aa2',
    500: '#4d307c',
    950: '#000000',
  },
}
SCSS
$custom: #4d307c;
$custom-light: #826aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d307c",
  "rgb": {
    "r": 77,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 262.895,
    "s": 44.186,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38508,
    "c": 0.12411,
    "h": 297.9
  },
  "luminance": 0.05147
}

Semantic roles & 50–950 ramp

primary
#4D307C
secondary
#8DAA5E
accent
#D454A3
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B060F
muted
#7C7A7F

Preview Lab

Preview with #4D307C

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

Preview Lab → · Contrast checker → · Palette generator →

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