#4B1B68#4B1B68

#4B1B68 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.6% C 0.131 H 309.6°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#4B1B68
RGBrgb(75, 27, 104)
HSLhsl(277, 59%, 26%)
HSVhsv(277, 74%, 41%)
CMYKcmyk(27.9%, 74%, 0%, 59.2%)
CIE-LABlab(21.13, 36.72, -35.52)
CIE-LCHlch(21.13, 51.09, 315.95°)
OKLaboklab(33.63% 0.0833 -0.1005)
OKLCHoklch(33.63% 0.131 309.6)
XYZxyz(5.7918, 3.2793, 13.4219)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1B68 #38681B
analogous
#241B68 #4B1B68 #681B5E
triadic
#4B1B68 #684B1B #1B684B
tetradic
#4B1B68 #68241B #38681B #1B5E68
square
#4B1B68 #68241B #38681B #1B5E68
split-complementary
#4B1B68 #5E681B #1B6824
monochromatic
#120618 #280E37 #4B1B68 #6E2899 #9134C9

Accessibility & contrast

On white

12.68
#4B1B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#4B1B68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1B68
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1B68#FFFFFF#000000##FFFFFF
##4B1B681.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316A
Deuteranopia (green-blind)
#0C3366
Tritanopia (blue-blind)
#472C3F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4b1b68;
/* rgb */ color: rgb(75, 27, 104);
/* oklch */ color: oklch(33.6% 0.131 309.6);
Tailwind
colors: {
  custom: {
    50: '#815c94',
    500: '#4b1b68',
    950: '#000000',
  },
}
SCSS
$custom: #4b1b68;
$custom-light: #815c94;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1b68",
  "rgb": {
    "r": 75,
    "g": 27,
    "b": 104
  },
  "hsl": {
    "h": 277.403,
    "s": 58.779,
    "l": 25.686
  },
  "oklch": {
    "l": 0.3363,
    "c": 0.13055,
    "h": 309.6
  },
  "luminance": 0.03279
}

Semantic roles & 50–950 ramp

primary
#4B1B68
secondary
#649D42
accent
#E24681
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4B1B68

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

Preview Lab → · Contrast checker → · Palette generator →

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