#4B248A#4B248A

#4B248A is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.6% C 0.158 H 295.1°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#4B248A
RGBrgb(75, 36, 138)
HSLhsl(263, 59%, 34%)
HSVhsv(263, 74%, 54%)
CMYKcmyk(45.7%, 73.9%, 0%, 45.9%)
CIE-LABlab(25.54, 41.15, -50.02)
CIE-LCHlch(25.54, 64.77, 309.44°)
OKLaboklab(37.64% 0.0672 -0.1432)
OKLCHoklch(37.64% 0.158 295.1)
XYZxyz(8.1187, 4.5924, 24.4985)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B248A #638A24
analogous
#24308A #4B248A #7E248A
triadic
#4B248A #8A4B24 #248A4B
tetradic
#4B248A #8A2430 #638A24 #248A7E
square
#4B248A #8A2430 #638A24 #248A7E
split-complementary
#4B248A #8A7E24 #308A24
monochromatic
#160B29 #311759 #4B248A #6531BB #8556D3

Accessibility & contrast

On white

10.95
#4B248A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B248A
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B248A#FFFFFF#000000##FFFFFF
##4B248A1.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8D
Deuteranopia (green-blind)
#003B88
Tritanopia (blue-blind)
#393E55
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4b248a;
/* rgb */ color: rgb(75, 36, 138);
/* oklch */ color: oklch(37.6% 0.158 295.1);
Tailwind
colors: {
  custom: {
    50: '#8462ad',
    500: '#4b248a',
    950: '#000000',
  },
}
SCSS
$custom: #4b248a;
$custom-light: #8462ad;
$custom-dark: #000000;
JSON
{
  "hex": "#4b248a",
  "rgb": {
    "r": 75,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 262.941,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37642,
    "c": 0.15819,
    "h": 295.1
  },
  "luminance": 0.04593
}

Semantic roles & 50–950 ramp

primary
#4B248A
secondary
#91B753
accent
#E246A6
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #4B248A

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

Preview Lab → · Contrast checker → · Palette generator →

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