#4B1074#4B1074

#4B1074 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.5% C 0.155 H 305.8°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#4B1074
RGBrgb(75, 16, 116)
HSLhsl(275, 76%, 26%)
HSVhsv(275, 86%, 45%)
CMYKcmyk(35.3%, 86.2%, 0%, 54.5%)
CIE-LABlab(20.55, 44.16, -44.25)
CIE-LCHlch(20.55, 62.51, 314.94°)
OKLaboklab(33.53% 0.0909 -0.1261)
OKLCHoklch(33.53% 0.155 305.8)
XYZxyz(6.2386, 3.1274, 16.7946)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1074 #397410
analogous
#191074 #4B1074 #74106B
triadic
#4B1074 #744B10 #10744B
tetradic
#4B1074 #741910 #397410 #106B74
square
#4B1074 #741910 #397410 #106B74
split-complementary
#4B1074 #6B7410 #107419
monochromatic
#11041B #28093E #4B1074 #6E17AA #911FE0

Accessibility & contrast

On white

12.92
#4B1074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4B1074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1074
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1074#FFFFFF#000000##FFFFFF
##4B10741.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003077
Deuteranopia (green-blind)
#003272
Tritanopia (blue-blind)
#432C44
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4b1074;
/* rgb */ color: rgb(75, 16, 116);
/* oklch */ color: oklch(33.5% 0.155 305.8);
Tailwind
colors: {
  custom: {
    50: '#82589d',
    500: '#4b1074',
    950: '#000000',
  },
}
SCSS
$custom: #4b1074;
$custom-light: #82589d;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1074",
  "rgb": {
    "r": 75,
    "g": 16,
    "b": 116
  },
  "hsl": {
    "h": 275.4,
    "s": 75.758,
    "l": 25.882
  },
  "oklch": {
    "l": 0.33535,
    "c": 0.15546,
    "h": 305.8
  },
  "luminance": 0.03127
}

Semantic roles & 50–950 ramp

primary
#4B1074
secondary
#65AB35
accent
#F23583
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4B1074

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

Preview Lab → · Contrast checker → · Palette generator →

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