#4B288F#4B288F

#4B288F is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.6% C 0.159 H 293.0°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#4B288F
RGBrgb(75, 40, 143)
HSLhsl(260, 56%, 36%)
HSVhsv(260, 72%, 56%)
CMYKcmyk(47.6%, 72%, 0%, 43.9%)
CIE-LABlab(26.72, 40.46, -51.19)
CIE-LCHlch(26.72, 65.25, 308.32°)
OKLaboklab(38.62% 0.0622 -0.1467)
OKLCHoklch(38.62% 0.159 293)
XYZxyz(8.6170, 4.9963, 26.4916)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B288F #6C8F28
analogous
#28398F #4B288F #7E288F
triadic
#4B288F #8F4B28 #288F4B
tetradic
#4B288F #8F2839 #6C8F28 #288F7E
square
#4B288F #8F2839 #6C8F28 #288F7E
split-complementary
#4B288F #8F7E28 #398F28
monochromatic
#190D2F #321B5F #4B288F #6435BF #865FD2

Accessibility & contrast

On white

10.50
#4B288F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4B288F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B288F
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B288F#FFFFFF#000000##FFFFFF
##4B288F1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#374258
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4b288f;
/* rgb */ color: rgb(75, 40, 143);
/* oklch */ color: oklch(38.6% 0.159 293.0);
Tailwind
colors: {
  custom: {
    50: '#8465b1',
    500: '#4b288f',
    950: '#000000',
  },
}
SCSS
$custom: #4b288f;
$custom-light: #8465b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b288f",
  "rgb": {
    "r": 75,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 260.388,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38618,
    "c": 0.15932,
    "h": 293
  },
  "luminance": 0.04997
}

Semantic roles & 50–950 ramp

primary
#4B288F
secondary
#98B85B
accent
#E048AC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #4B288F

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

Preview Lab → · Contrast checker → · Palette generator →

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