#4B248C#4B248C

#4B248C is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.8% C 0.161 H 294.6°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#4B248C
RGBrgb(75, 36, 140)
HSLhsl(263, 59%, 35%)
HSVhsv(263, 74%, 55%)
CMYKcmyk(46.4%, 74.3%, 0%, 45.1%)
CIE-LABlab(25.72, 41.71, -50.98)
CIE-LCHlch(25.72, 65.87, 309.29°)
OKLaboklab(37.82% 0.0668 -0.146)
OKLCHoklch(37.82% 0.161 294.6)
XYZxyz(8.2649, 4.6508, 25.2681)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B248C #658C24
analogous
#24318C #4B248C #7F248C
triadic
#4B248C #8C4B24 #248C4B
tetradic
#4B248C #8C2431 #658C24 #248C7F
square
#4B248C #8C2431 #658C24 #248C7F
split-complementary
#4B248C #8C7F24 #318C24
monochromatic
#170B2B #31175B #4B248C #6531BD #8657D4

Accessibility & contrast

On white

10.88
#4B248C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#4B248C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B248C
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B248C#FFFFFF#000000##FFFFFF
##4B248C1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b248c;
/* rgb */ color: rgb(75, 36, 140);
/* oklch */ color: oklch(37.8% 0.161 294.6);
Tailwind
colors: {
  custom: {
    50: '#8463ae',
    500: '#4b248c',
    950: '#000000',
  },
}
SCSS
$custom: #4b248c;
$custom-light: #8463ae;
$custom-dark: #000000;
JSON
{
  "hex": "#4b248c",
  "rgb": {
    "r": 75,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 262.5,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37821,
    "c": 0.16056,
    "h": 294.6
  },
  "luminance": 0.04651
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4B248C

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

Preview Lab → · Contrast checker → · Palette generator →

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