#4B2676#4B2676

#4B2676 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.2% C 0.131 H 301.3°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#4B2676
RGBrgb(75, 38, 118)
HSLhsl(268, 51%, 31%)
HSVhsv(268, 68%, 46%)
CMYKcmyk(36.4%, 67.8%, 0%, 53.7%)
CIE-LABlab(24.29, 34.55, -39.45)
CIE-LCHlch(24.29, 52.44, 311.22°)
OKLaboklab(36.24% 0.0683 -0.1121)
OKLCHoklch(36.24% 0.131 301.3)
XYZxyz(6.8640, 4.1901, 17.5832)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2676 #517626
analogous
#262976 #4B2676 #732676
triadic
#4B2676 #764B26 #26764B
tetradic
#4B2676 #762629 #517626 #267673
square
#4B2676 #762629 #517626 #267673
split-complementary
#4B2676 #767326 #297626
monochromatic
#100819 #2E1748 #4B2676 #6835A4 #8750C7

Accessibility & contrast

On white

11.43
#4B2676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#4B2676 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2676
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2676#FFFFFF#000000##FFFFFF
##4B26761.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003978
Deuteranopia (green-blind)
#043974
Tritanopia (blue-blind)
#42384A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4b2676;
/* rgb */ color: rgb(75, 38, 118);
/* oklch */ color: oklch(36.2% 0.131 301.3);
Tailwind
colors: {
  custom: {
    50: '#81639e',
    500: '#4b2676',
    950: '#000000',
  },
}
SCSS
$custom: #4b2676;
$custom-light: #81639e;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2676",
  "rgb": {
    "r": 75,
    "g": 38,
    "b": 118
  },
  "hsl": {
    "h": 267.75,
    "s": 51.282,
    "l": 30.588
  },
  "oklch": {
    "l": 0.36236,
    "c": 0.1313,
    "h": 301.3
  },
  "luminance": 0.0419
}

Semantic roles & 50–950 ramp

primary
#4B2676
secondary
#7FA84F
accent
#DB4D99
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B050E
muted
#7C7A7E

Preview Lab

Preview with #4B2676

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

Preview Lab → · Contrast checker → · Palette generator →

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