#4B248D#4B248D

#4B248D is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.9% C 0.162 H 294.3°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#4B248D
RGBrgb(75, 36, 141)
HSLhsl(262, 59%, 35%)
HSVhsv(262, 74%, 55%)
CMYKcmyk(46.8%, 74.5%, 0%, 44.7%)
CIE-LABlab(25.80, 41.98, -51.46)
CIE-LCHlch(25.80, 66.41, 309.21°)
OKLaboklab(37.91% 0.0665 -0.1474)
OKLCHoklch(37.91% 0.162 294.3)
XYZxyz(8.3389, 4.6805, 25.6582)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B248D #668D24
analogous
#24318D #4B248D #80248D
triadic
#4B248D #8D4B24 #248D4B
tetradic
#4B248D #8D2431 #668D24 #248D80
square
#4B248D #8D2431 #668D24 #248D80
split-complementary
#4B248D #8D8024 #318D24
monochromatic
#170B2B #31185C #4B248D #6530BE #8657D4

Accessibility & contrast

On white

10.85
#4B248D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#4B248D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B248D
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B248D#FFFFFF#000000##FFFFFF
##4B248D1.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#003B8B
Tritanopia (blue-blind)
#383F56
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4b248d;
/* rgb */ color: rgb(75, 36, 141);
/* oklch */ color: oklch(37.9% 0.162 294.3);
Tailwind
colors: {
  custom: {
    50: '#8463af',
    500: '#4b248d',
    950: '#000000',
  },
}
SCSS
$custom: #4b248d;
$custom-light: #8463af;
$custom-dark: #000000;
JSON
{
  "hex": "#4b248d",
  "rgb": {
    "r": 75,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 262.286,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37911,
    "c": 0.16174,
    "h": 294.3
  },
  "luminance": 0.04681
}

Semantic roles & 50–950 ramp

primary
#4B248D
secondary
#93B854
accent
#E345A8
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #4B248D

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

Preview Lab → · Contrast checker → · Palette generator →

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