#4B286E#4B286E

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

Color values

HEX#4B286E
RGBrgb(75, 40, 110)
HSLhsl(270, 47%, 29%)
HSVhsv(270, 64%, 43%)
CMYKcmyk(31.8%, 63.6%, 0%, 56.9%)
CIE-LABlab(24.13, 31.24, -34.58)
CIE-LCHlch(24.13, 46.60, 312.09°)
OKLaboklab(35.93% 0.0663 -0.0979)
OKLCHoklch(35.93% 0.118 304.1)
XYZxyz(6.4743, 4.1393, 15.2067)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B286E #4B6E28
analogous
#28286E #4B286E #6E286E
triadic
#4B286E #6E4B28 #286E4B
tetradic
#4B286E #6E2828 #4B6E28 #286E6E
square
#4B286E #6E2828 #4B6E28 #286E6E
split-complementary
#4B286E #6E6E28 #286E28
monochromatic
#0F0816 #2C1841 #4B286E #6A389B #8851C0

Accessibility & contrast

On white

11.49
#4B286E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#4B286E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B286E
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B286E#FFFFFF#000000##FFFFFF
##4B286E1.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043870
Deuteranopia (green-blind)
#17396C
Tritanopia (blue-blind)
#453647
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4b286e;
/* rgb */ color: rgb(75, 40, 110);
/* oklch */ color: oklch(35.9% 0.118 304.1);
Tailwind
colors: {
  custom: {
    50: '#806498',
    500: '#4b286e',
    950: '#000000',
  },
}
SCSS
$custom: #4b286e;
$custom-light: #806498;
$custom-dark: #000000;
JSON
{
  "hex": "#4b286e",
  "rgb": {
    "r": 75,
    "g": 40,
    "b": 110
  },
  "hsl": {
    "h": 270,
    "s": 46.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.35931,
    "c": 0.11817,
    "h": 304.1
  },
  "luminance": 0.04139
}

Semantic roles & 50–950 ramp

primary
#4B286E
secondary
#79A051
accent
#D65194
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A050E
muted
#7C7A7E

Preview Lab

Preview with #4B286E

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

Preview Lab → · Contrast checker → · Palette generator →

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