#4B248B#4B248B

#4B248B is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.159 H 294.8°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#4B248B
RGBrgb(75, 36, 139)
HSLhsl(263, 59%, 34%)
HSVhsv(263, 74%, 55%)
CMYKcmyk(46%, 74.1%, 0%, 45.5%)
CIE-LABlab(25.63, 41.43, -50.50)
CIE-LCHlch(25.63, 65.32, 309.36°)
OKLaboklab(37.73% 0.067 -0.1446)
OKLCHoklch(37.73% 0.159 294.8)
XYZxyz(8.1915, 4.6215, 24.8815)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B248B #648B24
analogous
#24318B #4B248B #7F248B
triadic
#4B248B #8B4B24 #248B4B
tetradic
#4B248B #8B2431 #648B24 #248B7F
square
#4B248B #8B2431 #648B24 #248B7F
split-complementary
#4B248B #8B7F24 #318B24
monochromatic
#170B2A #31175A #4B248B #6531BC #8656D3

Accessibility & contrast

On white

10.91
#4B248B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#4B248B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B248B
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B248B#FFFFFF#000000##FFFFFF
##4B248B1.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8E
Deuteranopia (green-blind)
#003B89
Tritanopia (blue-blind)
#393F55
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4b248b;
/* rgb */ color: rgb(75, 36, 139);
/* oklch */ color: oklch(37.7% 0.159 294.8);
Tailwind
colors: {
  custom: {
    50: '#8462ae',
    500: '#4b248b',
    950: '#000000',
  },
}
SCSS
$custom: #4b248b;
$custom-light: #8462ae;
$custom-dark: #000000;
JSON
{
  "hex": "#4b248b",
  "rgb": {
    "r": 75,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 262.718,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37731,
    "c": 0.15937,
    "h": 294.8
  },
  "luminance": 0.04622
}

Semantic roles & 50–950 ramp

primary
#4B248B
secondary
#92B753
accent
#E246A7
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #4B248B

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

Preview Lab → · Contrast checker → · Palette generator →

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