#4B286F#4B286F

#4B286F is a dark, moderate violet. Relative luminance 0.042; OKLCH L 36.0% C 0.119 H 303.7°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#4B286F
RGBrgb(75, 40, 111)
HSLhsl(270, 47%, 30%)
HSVhsv(270, 64%, 44%)
CMYKcmyk(32.4%, 64%, 0%, 56.5%)
CIE-LABlab(24.20, 31.51, -35.11)
CIE-LCHlch(24.20, 47.18, 311.90°)
OKLaboklab(36% 0.0662 -0.0994)
OKLCHoklch(36% 0.119 303.7)
XYZxyz(6.5290, 4.1612, 15.4951)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B286F #4C6F28
analogous
#28296F #4B286F #6F286F
triadic
#4B286F #6F4B28 #286F4B
tetradic
#4B286F #6F2829 #4C6F28 #286F6F
square
#4B286F #6F2829 #4C6F28 #286F6F
split-complementary
#4B286F #6F6F28 #296F28
monochromatic
#0F0816 #2D1842 #4B286F #69389C #8851C0

Accessibility & contrast

On white

11.46
#4B286F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B286F
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B286F#FFFFFF#000000##FFFFFF
##4B286F1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023971
Deuteranopia (green-blind)
#16396D
Tritanopia (blue-blind)
#443747
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4b286f;
/* rgb */ color: rgb(75, 40, 111);
/* oklch */ color: oklch(36.0% 0.119 303.7);
Tailwind
colors: {
  custom: {
    50: '#806499',
    500: '#4b286f',
    950: '#000000',
  },
}
SCSS
$custom: #4b286f;
$custom-light: #806499;
$custom-dark: #000000;
JSON
{
  "hex": "#4b286f",
  "rgb": {
    "r": 75,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 269.577,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.36005,
    "c": 0.11944,
    "h": 303.7
  },
  "luminance": 0.04161
}

Semantic roles & 50–950 ramp

primary
#4B286F
secondary
#7AA151
accent
#D75195
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A050E
muted
#7C7A7E

Preview Lab

Preview with #4B286F

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

Preview Lab → · Contrast checker → · Palette generator →

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