#4B1775#4B1775

#4B1775 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.150 H 304.5°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#4B1775
RGBrgb(75, 23, 117)
HSLhsl(273, 67%, 27%)
HSVhsv(273, 80%, 46%)
CMYKcmyk(35.9%, 80.3%, 0%, 54.1%)
CIE-LABlab(21.55, 41.74, -43.25)
CIE-LCHlch(21.55, 60.10, 313.98°)
OKLaboklab(34.26% 0.0848 -0.1232)
OKLCHoklch(34.26% 0.15 304.5)
XYZxyz(6.4182, 3.3930, 17.1430)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1775 #417517
analogous
#1C1775 #4B1775 #751770
triadic
#4B1775 #754B17 #17754B
tetradic
#4B1775 #751C17 #417517 #177075
square
#4B1775 #751C17 #417517 #177075
split-complementary
#4B1775 #707517 #17751C
monochromatic
#10051A #2A0D42 #4B1775 #6C21A8 #8C30D6

Accessibility & contrast

On white

12.51
#4B1775 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#4B1775 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1775
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1775#FFFFFF#000000##FFFFFF
##4B17751.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b1775;
/* rgb */ color: rgb(75, 23, 117);
/* oklch */ color: oklch(34.3% 0.150 304.5);
Tailwind
colors: {
  custom: {
    50: '#825b9e',
    500: '#4b1775',
    950: '#000000',
  },
}
SCSS
$custom: #4b1775;
$custom-light: #825b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1775",
  "rgb": {
    "r": 75,
    "g": 23,
    "b": 117
  },
  "hsl": {
    "h": 273.191,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.34264,
    "c": 0.14959,
    "h": 304.5
  },
  "luminance": 0.03393
}

Semantic roles & 50–950 ramp

primary
#4B1775
secondary
#6EAA3D
accent
#EA3E8B
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4B1775

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

Preview Lab → · Contrast checker → · Palette generator →

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