#4B276A#4B276A

#4B276A is a dark, moderate violet. Relative luminance 0.040; OKLCH L 35.5% C 0.115 H 306.2°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#4B276A
RGBrgb(75, 39, 106)
HSLhsl(272, 46%, 28%)
HSVhsv(272, 63%, 42%)
CMYKcmyk(29.2%, 63.2%, 0%, 58.4%)
CIE-LABlab(23.63, 30.76, -32.80)
CIE-LCHlch(23.63, 44.96, 313.16°)
OKLaboklab(35.48% 0.0677 -0.0926)
OKLCHoklch(35.48% 0.115 306.2)
XYZxyz(6.2281, 3.9876, 14.0744)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B276A #466A27
analogous
#29276A #4B276A #6A2767
triadic
#4B276A #6A4B27 #276A4B
tetradic
#4B276A #6A2927 #466A27 #27676A
square
#4B276A #6A2927 #466A27 #27676A
split-complementary
#4B276A #676A27 #276A29
monochromatic
#100816 #2B173D #4B276A #6B3797 #8A4EBE

Accessibility & contrast

On white

11.68
#4B276A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#4B276A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B276A
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B276A#FFFFFF#000000##FFFFFF
##4B276A1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08376C
Deuteranopia (green-blind)
#1A3868
Tritanopia (blue-blind)
#463444
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4b276a;
/* rgb */ color: rgb(75, 39, 106);
/* oklch */ color: oklch(35.5% 0.115 306.2);
Tailwind
colors: {
  custom: {
    50: '#806395',
    500: '#4b276a',
    950: '#000000',
  },
}
SCSS
$custom: #4b276a;
$custom-light: #806395;
$custom-dark: #000000;
JSON
{
  "hex": "#4b276a",
  "rgb": {
    "r": 75,
    "g": 39,
    "b": 106
  },
  "hsl": {
    "h": 272.239,
    "s": 46.207,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3548,
    "c": 0.11472,
    "h": 306.2
  },
  "luminance": 0.03988
}

Semantic roles & 50–950 ramp

primary
#4B276A
secondary
#749D50
accent
#D6528F
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A050D
muted
#7C7A7E

Preview Lab

Preview with #4B276A

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

Preview Lab → · Contrast checker → · Palette generator →

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