#4B1968#4B1968

#4B1968 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.4% C 0.133 H 310.0°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#4B1968
RGBrgb(75, 25, 104)
HSLhsl(278, 61%, 25%)
HSVhsv(278, 76%, 41%)
CMYKcmyk(27.9%, 76%, 0%, 59.2%)
CIE-LABlab(20.79, 37.67, -36.07)
CIE-LCHlch(20.79, 52.15, 316.24°)
OKLaboklab(33.39% 0.0856 -0.1021)
OKLCHoklch(33.39% 0.133 310)
XYZxyz(5.7475, 3.1907, 13.4071)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1968 #366819
analogous
#241968 #4B1968 #68195D
triadic
#4B1968 #684B19 #19684B
tetradic
#4B1968 #682419 #366819 #195D68
square
#4B1968 #682419 #366819 #195D68
split-complementary
#4B1968 #5D6819 #196824
monochromatic
#120619 #270D37 #4B1968 #6F2599 #9231CB

Accessibility & contrast

On white

12.82
#4B1968 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#4B1968 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1968
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1968#FFFFFF#000000##FFFFFF
##4B19681.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306A
Deuteranopia (green-blind)
#093366
Tritanopia (blue-blind)
#472B3F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4b1968;
/* rgb */ color: rgb(75, 25, 104);
/* oklch */ color: oklch(33.4% 0.133 310.0);
Tailwind
colors: {
  custom: {
    50: '#815b94',
    500: '#4b1968',
    950: '#000000',
  },
}
SCSS
$custom: #4b1968;
$custom-light: #815b94;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1968",
  "rgb": {
    "r": 75,
    "g": 25,
    "b": 104
  },
  "hsl": {
    "h": 277.975,
    "s": 61.24,
    "l": 25.294
  },
  "oklch": {
    "l": 0.3339,
    "c": 0.13323,
    "h": 310
  },
  "luminance": 0.03191
}

Semantic roles & 50–950 ramp

primary
#4B1968
secondary
#629E3F
accent
#E4437F
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4B1968

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

Preview Lab → · Contrast checker → · Palette generator →

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