#4B286D#4B286D

#4B286D is a dark, moderate violet. Relative luminance 0.041; OKLCH L 35.9% C 0.117 H 304.5°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#4B286D
RGBrgb(75, 40, 109)
HSLhsl(270, 46%, 29%)
HSVhsv(270, 63%, 43%)
CMYKcmyk(31.2%, 63.3%, 0%, 57.3%)
CIE-LABlab(24.06, 30.97, -34.05)
CIE-LCHlch(24.06, 46.03, 312.29°)
OKLaboklab(35.86% 0.0663 -0.0963)
OKLCHoklch(35.86% 0.117 304.5)
XYZxyz(6.4201, 4.1176, 14.9216)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B286D #4A6D28
analogous
#29286D #4B286D #6D286D
triadic
#4B286D #6D4B28 #286D4B
tetradic
#4B286D #6D2928 #4A6D28 #286D6D
square
#4B286D #6D2928 #4A6D28 #286D6D
split-complementary
#4B286D #6D6D28 #286D29
monochromatic
#0F0816 #2C1840 #4B286D #6A389A #8950BF

Accessibility & contrast

On white

11.52
#4B286D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B286D
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B286D#FFFFFF#000000##FFFFFF
##4B286D1.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06386F
Deuteranopia (green-blind)
#18396B
Tritanopia (blue-blind)
#453646
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4b286d;
/* rgb */ color: rgb(75, 40, 109);
/* oklch */ color: oklch(35.9% 0.117 304.5);
Tailwind
colors: {
  custom: {
    50: '#806497',
    500: '#4b286d',
    950: '#000000',
  },
}
SCSS
$custom: #4b286d;
$custom-light: #806497;
$custom-dark: #000000;
JSON
{
  "hex": "#4b286d",
  "rgb": {
    "r": 75,
    "g": 40,
    "b": 109
  },
  "hsl": {
    "h": 270.435,
    "s": 46.309,
    "l": 29.216
  },
  "oklch": {
    "l": 0.35857,
    "c": 0.11689,
    "h": 304.5
  },
  "luminance": 0.04118
}

Semantic roles & 50–950 ramp

primary
#4B286D
secondary
#789F51
accent
#D65293
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A050D
muted
#7C7A7E

Preview Lab

Preview with #4B286D

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

Preview Lab → · Contrast checker → · Palette generator →

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