#4B1875#4B1875

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

Color values

HEX#4B1875
RGBrgb(75, 24, 117)
HSLhsl(273, 66%, 28%)
HSVhsv(273, 79%, 46%)
CMYKcmyk(35.9%, 79.5%, 0%, 54.1%)
CIE-LABlab(21.70, 41.31, -43.01)
CIE-LCHlch(21.70, 59.63, 313.85°)
OKLaboklab(34.37% 0.0839 -0.1225)
OKLCHoklch(34.37% 0.148 304.4)
XYZxyz(6.4384, 3.4335, 17.1497)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1875 #427518
analogous
#1C1875 #4B1875 #751870
triadic
#4B1875 #754B18 #18754B
tetradic
#4B1875 #751C18 #427518 #187075
square
#4B1875 #751C18 #427518 #187075
split-complementary
#4B1875 #707518 #18751C
monochromatic
#100519 #2A0E42 #4B1875 #6C22A8 #8C32D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B1875#FFFFFF#000000##FFFFFF
##4B18751.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)
#003378
Deuteranopia (green-blind)
#003473
Tritanopia (blue-blind)
#433046
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4b1875;
/* rgb */ color: rgb(75, 24, 117);
/* oklch */ color: oklch(34.4% 0.148 304.4);
Tailwind
colors: {
  custom: {
    50: '#825b9d',
    500: '#4b1875',
    950: '#000000',
  },
}
SCSS
$custom: #4b1875;
$custom-light: #825b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1875",
  "rgb": {
    "r": 75,
    "g": 24,
    "b": 117
  },
  "hsl": {
    "h": 272.903,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.34369,
    "c": 0.14848,
    "h": 304.4
  },
  "luminance": 0.03433
}

Semantic roles & 50–950 ramp

primary
#4B1875
secondary
#6FAA3F
accent
#E93F8C
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4B1875

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

Preview Lab → · Contrast checker → · Palette generator →

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