#4B1668#4B1668

#4B1668 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.137 H 310.4°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#4B1668
RGBrgb(75, 22, 104)
HSLhsl(279, 65%, 25%)
HSVhsv(279, 79%, 41%)
CMYKcmyk(27.9%, 78.8%, 0%, 59.2%)
CIE-LABlab(20.32, 39.01, -36.83)
CIE-LCHlch(20.32, 53.65, 316.65°)
OKLaboklab(33.06% 0.0888 -0.1043)
OKLCHoklch(33.06% 0.137 310.4)
XYZxyz(5.6868, 3.0693, 13.3869)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1668 #336816
analogous
#221668 #4B1668 #68165C
triadic
#4B1668 #684B16 #16684B
tetradic
#4B1668 #682216 #336816 #165C68
square
#4B1668 #682216 #336816 #165C68
split-complementary
#4B1668 #5C6816 #166822
monochromatic
#120519 #270B35 #4B1668 #6F219B #942BCD

Accessibility & contrast

On white

13.01
#4B1668 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#4B1668 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1668
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1668#FFFFFF#000000##FFFFFF
##4B16681.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6A
Deuteranopia (green-blind)
#043266
Tritanopia (blue-blind)
#47293E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4b1668;
/* rgb */ color: rgb(75, 22, 104);
/* oklch */ color: oklch(33.1% 0.137 310.4);
Tailwind
colors: {
  custom: {
    50: '#815994',
    500: '#4b1668',
    950: '#000000',
  },
}
SCSS
$custom: #4b1668;
$custom-light: #815994;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1668",
  "rgb": {
    "r": 75,
    "g": 22,
    "b": 104
  },
  "hsl": {
    "h": 278.78,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33055,
    "c": 0.13699,
    "h": 310.4
  },
  "luminance": 0.03069
}

Semantic roles & 50–950 ramp

primary
#4B1668
secondary
#5E9F3B
accent
#E8407B
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4B1668

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

Preview Lab → · Contrast checker → · Palette generator →

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