#4B286C#4B286C

#4B286C is a dark, moderate violet. Relative luminance 0.041; OKLCH L 35.8% C 0.116 H 305.0°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#4B286C
RGBrgb(75, 40, 108)
HSLhsl(271, 46%, 29%)
HSVhsv(271, 63%, 42%)
CMYKcmyk(30.6%, 63%, 0%, 57.6%)
CIE-LABlab(23.99, 30.70, -33.52)
CIE-LCHlch(23.99, 45.45, 312.49°)
OKLaboklab(35.78% 0.0663 -0.0947)
OKLCHoklch(35.78% 0.116 305)
XYZxyz(6.3666, 4.0962, 14.6397)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B286C #496C28
analogous
#29286C #4B286C #6C286B
triadic
#4B286C #6C4B28 #286C4B
tetradic
#4B286C #6C2928 #496C28 #286B6C
square
#4B286C #6C2928 #496C28 #286B6C
split-complementary
#4B286C #6B6C28 #286C29
monochromatic
#100816 #2C173F #4B286C #6A3999 #8950BE

Accessibility & contrast

On white

11.54
#4B286C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#4B286C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B286C
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B286C#FFFFFF#000000##FFFFFF
##4B286C1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08386E
Deuteranopia (green-blind)
#19396A
Tritanopia (blue-blind)
#453646
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4b286c;
/* rgb */ color: rgb(75, 40, 108);
/* oklch */ color: oklch(35.8% 0.116 305.0);
Tailwind
colors: {
  custom: {
    50: '#806496',
    500: '#4b286c',
    950: '#000000',
  },
}
SCSS
$custom: #4b286c;
$custom-light: #806496;
$custom-dark: #000000;
JSON
{
  "hex": "#4b286c",
  "rgb": {
    "r": 75,
    "g": 40,
    "b": 108
  },
  "hsl": {
    "h": 270.882,
    "s": 45.946,
    "l": 29.02
  },
  "oklch": {
    "l": 0.35784,
    "c": 0.11561,
    "h": 305
  },
  "luminance": 0.04096
}

Semantic roles & 50–950 ramp

primary
#4B286C
secondary
#779E51
accent
#D65292
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A050D
muted
#7C7A7E

Preview Lab

Preview with #4B286C

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

Preview Lab → · Contrast checker → · Palette generator →

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