#4B279B#4B279B

#4B279B is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.6% C 0.175 H 290.2°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#4B279B
RGBrgb(75, 39, 155)
HSLhsl(259, 60%, 38%)
HSVhsv(259, 75%, 61%)
CMYKcmyk(51.6%, 74.8%, 0%, 39.2%)
CIE-LABlab(27.61, 44.41, -57.13)
CIE-LCHlch(27.61, 72.36, 307.86°)
OKLaboklab(39.57% 0.0604 -0.1641)
OKLCHoklch(39.57% 0.175 290.2)
XYZxyz(9.5419, 5.3130, 31.5267)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B279B #779B27
analogous
#273D9B #4B279B #85279B
triadic
#4B279B #9B4B27 #279B4B
tetradic
#4B279B #9B273D #779B27 #279B85
square
#4B279B #9B273D #779B27 #279B85
split-complementary
#4B279B #9B8527 #3D9B27
monochromatic
#1C0E39 #331B6A #4B279B #6333CC #8864D8

Accessibility & contrast

On white

10.18
#4B279B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4B279B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B279B
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B279B#FFFFFF#000000##FFFFFF
##4B279B1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#003E99
Tritanopia (blue-blind)
#2F465F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4b279b;
/* rgb */ color: rgb(75, 39, 155);
/* oklch */ color: oklch(39.6% 0.175 290.2);
Tailwind
colors: {
  custom: {
    50: '#8665b9',
    500: '#4b279b',
    950: '#000000',
  },
}
SCSS
$custom: #4b279b;
$custom-light: #8665b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4b279b",
  "rgb": {
    "r": 75,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 258.621,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39574,
    "c": 0.17485,
    "h": 290.2
  },
  "luminance": 0.05313
}

Semantic roles & 50–950 ramp

primary
#4B279B
secondary
#A1BE60
accent
#E345B2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4B279B

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

Preview Lab → · Contrast checker → · Palette generator →

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