#4B248E#4B248E

#4B248E is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.0% C 0.163 H 294.0°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#4B248E
RGBrgb(75, 36, 142)
HSLhsl(262, 60%, 35%)
HSVhsv(262, 75%, 56%)
CMYKcmyk(47.2%, 74.6%, 0%, 44.3%)
CIE-LABlab(25.89, 42.26, -51.93)
CIE-LCHlch(25.89, 66.96, 309.14°)
OKLaboklab(38% 0.0663 -0.1488)
OKLCHoklch(38% 0.163 294)
XYZxyz(8.4137, 4.7104, 26.0518)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B248E #678E24
analogous
#24328E #4B248E #80248E
triadic
#4B248E #8E4B24 #248E4B
tetradic
#4B248E #8E2432 #678E24 #248E80
square
#4B248E #8E2432 #678E24 #248E80
split-complementary
#4B248E #8E8024 #328E24
monochromatic
#170B2C #31185D #4B248E #6530BF #8658D5

Accessibility & contrast

On white

10.81
#4B248E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B248E
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B248E#FFFFFF#000000##FFFFFF
##4B248E1.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#003B8C
Tritanopia (blue-blind)
#374057
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4b248e;
/* rgb */ color: rgb(75, 36, 142);
/* oklch */ color: oklch(38.0% 0.163 294.0);
Tailwind
colors: {
  custom: {
    50: '#8463b0',
    500: '#4b248e',
    950: '#000000',
  },
}
SCSS
$custom: #4b248e;
$custom-light: #8463b0;
$custom-dark: #000000;
JSON
{
  "hex": "#4b248e",
  "rgb": {
    "r": 75,
    "g": 36,
    "b": 142
  },
  "hsl": {
    "h": 262.075,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38001,
    "c": 0.16291,
    "h": 294
  },
  "luminance": 0.04711
}

Semantic roles & 50–950 ramp

primary
#4B248E
secondary
#94B955
accent
#E345A9
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4B248E

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

Preview Lab → · Contrast checker → · Palette generator →

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