#4B1368#4B1368

#4B1368 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.140 H 310.8°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#4B1368
RGBrgb(75, 19, 104)
HSLhsl(280, 69%, 24%)
HSVhsv(280, 82%, 41%)
CMYKcmyk(27.9%, 81.7%, 0%, 59.2%)
CIE-LABlab(19.89, 40.25, -37.53)
CIE-LCHlch(19.89, 55.03, 317.00°)
OKLaboklab(32.75% 0.0917 -0.1064)
OKLCHoklch(32.75% 0.14 310.8)
XYZxyz(5.6327, 2.9612, 13.3689)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1368 #306813
analogous
#201368 #4B1368 #68135B
triadic
#4B1368 #684B13 #13684B
tetradic
#4B1368 #682013 #306813 #135B68
square
#4B1368 #682013 #306813 #135B68
split-complementary
#4B1368 #5B6813 #136820
monochromatic
#13051A #260A34 #4B1368 #701C9C #9626CF

Accessibility & contrast

On white

13.19
#4B1368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#4B1368 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1368
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1368#FFFFFF#000000##FFFFFF
##4B13681.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6A
Deuteranopia (green-blind)
#003166
Tritanopia (blue-blind)
#47283D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4b1368;
/* rgb */ color: rgb(75, 19, 104);
/* oklch */ color: oklch(32.8% 0.140 310.8);
Tailwind
colors: {
  custom: {
    50: '#815894',
    500: '#4b1368',
    950: '#000000',
  },
}
SCSS
$custom: #4b1368;
$custom-light: #815894;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1368",
  "rgb": {
    "r": 75,
    "g": 19,
    "b": 104
  },
  "hsl": {
    "h": 279.529,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.32751,
    "c": 0.14045,
    "h": 310.8
  },
  "luminance": 0.02961
}

Semantic roles & 50–950 ramp

primary
#4B1368
secondary
#5B9F37
accent
#EC3C78
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4B1368

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

Preview Lab → · Contrast checker → · Palette generator →

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