#4B259D#4B259D

#4B259D is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.5% C 0.179 H 290.1°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#4B259D
RGBrgb(75, 37, 157)
HSLhsl(259, 62%, 38%)
HSVhsv(259, 76%, 62%)
CMYKcmyk(52.2%, 76.4%, 0%, 38.4%)
CIE-LABlab(27.44, 45.98, -58.62)
CIE-LCHlch(27.44, 74.50, 308.11°)
OKLaboklab(39.52% 0.0616 -0.1684)
OKLCHoklch(39.52% 0.179 290.1)
XYZxyz(9.6473, 5.2529, 32.3973)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B259D #779D25
analogous
#253B9D #4B259D #87259D
triadic
#4B259D #9D4B25 #259D4B
tetradic
#4B259D #9D253B #779D25 #259D87
square
#4B259D #9D253B #779D25 #259D87
split-complementary
#4B259D #9D8725 #3B9D25
monochromatic
#1C0E3A #33196B #4B259D #6331CE #8862DA

Accessibility & contrast

On white

10.24
#4B259D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4B259D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B259D
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B259D#FFFFFF#000000##FFFFFF
##4B259D1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A0
Deuteranopia (green-blind)
#003E9B
Tritanopia (blue-blind)
#2D465F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4b259d;
/* rgb */ color: rgb(75, 37, 157);
/* oklch */ color: oklch(39.5% 0.179 290.1);
Tailwind
colors: {
  custom: {
    50: '#8664bb',
    500: '#4b259d',
    950: '#000000',
  },
}
SCSS
$custom: #4b259d;
$custom-light: #8664bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4b259d",
  "rgb": {
    "r": 75,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 259,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39515,
    "c": 0.17933,
    "h": 290.1
  },
  "luminance": 0.05253
}

Semantic roles & 50–950 ramp

primary
#4B259D
secondary
#A1BF5E
accent
#E543B2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4B259D

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

Preview Lab → · Contrast checker → · Palette generator →

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