#4B279F#4B279F

#4B279F is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.9% C 0.180 H 289.3°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#4B279F
RGBrgb(75, 39, 159)
HSLhsl(258, 61%, 39%)
HSVhsv(258, 75%, 62%)
CMYKcmyk(52.8%, 75.5%, 0%, 37.6%)
CIE-LABlab(27.98, 45.56, -58.96)
CIE-LCHlch(27.98, 74.51, 307.69°)
OKLaboklab(39.95% 0.0594 -0.1694)
OKLCHoklch(39.95% 0.18 289.3)
XYZxyz(9.8834, 5.4496, 33.3253)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B279F #7B9F27
analogous
#273F9F #4B279F #87279F
triadic
#4B279F #9F4B27 #279F4B
tetradic
#4B279F #9F273F #7B9F27 #279F87
square
#4B279F #9F273F #7B9F27 #279F87
split-complementary
#4B279F #9F8727 #3F9F27
monochromatic
#1D0F3D #341B6E #4B279F #6336CE #8967DA

Accessibility & contrast

On white

10.05
#4B279F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4B279F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B279F
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B279F#FFFFFF#000000##FFFFFF
##4B279F1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#2C4861
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4b279f;
/* rgb */ color: rgb(75, 39, 159);
/* oklch */ color: oklch(39.9% 0.180 289.3);
Tailwind
colors: {
  custom: {
    50: '#8665bc',
    500: '#4b279f',
    950: '#000000',
  },
}
SCSS
$custom: #4b279f;
$custom-light: #8665bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b279f",
  "rgb": {
    "r": 75,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 258,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39948,
    "c": 0.17956,
    "h": 289.3
  },
  "luminance": 0.0545
}

Semantic roles & 50–950 ramp

primary
#4B279F
secondary
#A4C062
accent
#E444B4
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4B279F

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

Preview Lab → · Contrast checker → · Palette generator →

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