#4B1975#4B1975

#4B1975 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.5% C 0.147 H 304.2°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#4B1975
RGBrgb(75, 25, 117)
HSLhsl(273, 65%, 28%)
HSVhsv(273, 79%, 46%)
CMYKcmyk(35.9%, 78.6%, 0%, 54.1%)
CIE-LABlab(21.86, 40.87, -42.76)
CIE-LCHlch(21.86, 59.15, 313.71°)
OKLaboklab(34.48% 0.0829 -0.1218)
OKLCHoklch(34.48% 0.147 304.2)
XYZxyz(6.4594, 3.4755, 17.1567)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1975 #437519
analogous
#1D1975 #4B1975 #751971
triadic
#4B1975 #754B19 #19754B
tetradic
#4B1975 #751D19 #437519 #197175
square
#4B1975 #751D19 #437519 #197175
split-complementary
#4B1975 #717519 #19751D
monochromatic
#100519 #2B0E43 #4B1975 #6B24A7 #8B35D4

Accessibility & contrast

On white

12.39
#4B1975 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#4B1975 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1975
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1975#FFFFFF#000000##FFFFFF
##4B19751.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003378
Deuteranopia (green-blind)
#003473
Tritanopia (blue-blind)
#433046
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4b1975;
/* rgb */ color: rgb(75, 25, 117);
/* oklch */ color: oklch(34.5% 0.147 304.2);
Tailwind
colors: {
  custom: {
    50: '#825c9d',
    500: '#4b1975',
    950: '#000000',
  },
}
SCSS
$custom: #4b1975;
$custom-light: #825c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1975",
  "rgb": {
    "r": 75,
    "g": 25,
    "b": 117
  },
  "hsl": {
    "h": 272.609,
    "s": 64.789,
    "l": 27.843
  },
  "oklch": {
    "l": 0.34476,
    "c": 0.14733,
    "h": 304.2
  },
  "luminance": 0.03475
}

Semantic roles & 50–950 ramp

primary
#4B1975
secondary
#70AA40
accent
#E8408D
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4B1975

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

Preview Lab → · Contrast checker → · Palette generator →

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