#4D1675#4D1675

#4D1675 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.151 H 306.0°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#4D1675
RGBrgb(77, 22, 117)
HSLhsl(275, 68%, 27%)
HSVhsv(275, 81%, 46%)
CMYKcmyk(34.2%, 81.2%, 0%, 54.1%)
CIE-LABlab(21.71, 42.52, -42.98)
CIE-LCHlch(21.71, 60.46, 314.70°)
OKLaboklab(34.44% 0.0888 -0.1223)
OKLCHoklch(34.44% 0.151 306)
XYZxyz(6.5577, 3.4360, 17.1439)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1675 #3E7516
analogous
#1E1675 #4D1675 #75166D
triadic
#4D1675 #754D16 #16754D
tetradic
#4D1675 #751E16 #3E7516 #166D75
square
#4D1675 #751E16 #3E7516 #166D75
split-complementary
#4D1675 #6D7516 #16751E
monochromatic
#11051A #2B0C41 #4D1675 #6F20A9 #902ED8

Accessibility & contrast

On white

12.45
#4D1675 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#4D1675 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1675
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1675#FFFFFF#000000##FFFFFF
##4D16751.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003278
Deuteranopia (green-blind)
#003473
Tritanopia (blue-blind)
#462F45
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4d1675;
/* rgb */ color: rgb(77, 22, 117);
/* oklch */ color: oklch(34.4% 0.151 306.0);
Tailwind
colors: {
  custom: {
    50: '#835a9d',
    500: '#4d1675',
    950: '#000000',
  },
}
SCSS
$custom: #4d1675;
$custom-light: #835a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1675",
  "rgb": {
    "r": 77,
    "g": 22,
    "b": 117
  },
  "hsl": {
    "h": 274.737,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.34438,
    "c": 0.15115,
    "h": 306
  },
  "luminance": 0.03436
}

Semantic roles & 50–950 ramp

primary
#4D1675
secondary
#6BAB3C
accent
#EB3D86
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4D1675

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

Preview Lab → · Contrast checker → · Palette generator →

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