#4B248F#4B248F

#4B248F is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.164 H 293.7°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#4B248F
RGBrgb(75, 36, 143)
HSLhsl(262, 60%, 35%)
HSVhsv(262, 75%, 56%)
CMYKcmyk(47.6%, 74.8%, 0%, 43.9%)
CIE-LABlab(25.98, 42.54, -52.41)
CIE-LCHlch(25.98, 67.50, 309.07°)
OKLaboklab(38.09% 0.066 -0.1502)
OKLCHoklch(38.09% 0.164 293.7)
XYZxyz(8.4891, 4.7405, 26.4490)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B248F #688F24
analogous
#24328F #4B248F #80248F
triadic
#4B248F #8F4B24 #248F4B
tetradic
#4B248F #8F2432 #688F24 #248F80
square
#4B248F #8F2432 #688F24 #248F80
split-complementary
#4B248F #8F8024 #328F24
monochromatic
#180B2D #31185E #4B248F #6530C0 #8658D5

Accessibility & contrast

On white

10.78
#4B248F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#4B248F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B248F
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B248F#FFFFFF#000000##FFFFFF
##4B248F1.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b248f;
/* rgb */ color: rgb(75, 36, 143);
/* oklch */ color: oklch(38.1% 0.164 293.7);
Tailwind
colors: {
  custom: {
    50: '#8463b1',
    500: '#4b248f',
    950: '#000000',
  },
}
SCSS
$custom: #4b248f;
$custom-light: #8463b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b248f",
  "rgb": {
    "r": 75,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 261.869,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38092,
    "c": 0.16409,
    "h": 293.7
  },
  "luminance": 0.04741
}

Semantic roles & 50–950 ramp

primary
#4B248F
secondary
#95B955
accent
#E345A9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4B248F

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

Preview Lab → · Contrast checker → · Palette generator →

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