#4B259E#4B259E

#4B259E is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.6% C 0.180 H 289.9°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#4B259E
RGBrgb(75, 37, 158)
HSLhsl(259, 62%, 38%)
HSVhsv(259, 77%, 62%)
CMYKcmyk(52.5%, 76.6%, 0%, 38%)
CIE-LABlab(27.54, 46.26, -59.07)
CIE-LCHlch(27.54, 75.03, 308.06°)
OKLaboklab(39.61% 0.0613 -0.1698)
OKLCHoklch(39.61% 0.181 289.9)
XYZxyz(9.7330, 5.2872, 32.8488)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B259E #789E25
analogous
#253B9E #4B259E #87259E
triadic
#4B259E #9E4B25 #259E4B
tetradic
#4B259E #9E253B #789E25 #259E87
square
#4B259E #9E253B #789E25 #259E87
split-complementary
#4B259E #9E8725 #3B9E25
monochromatic
#1C0E3B #33196C #4B259E #6331CF #8863DA

Accessibility & contrast

On white

10.21
#4B259E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4B259E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B259E
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B259E#FFFFFF#000000##FFFFFF
##4B259E1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#003E9C
Tritanopia (blue-blind)
#2D4760
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4b259e;
/* rgb */ color: rgb(75, 37, 158);
/* oklch */ color: oklch(39.6% 0.180 289.9);
Tailwind
colors: {
  custom: {
    50: '#8664bc',
    500: '#4b259e',
    950: '#000000',
  },
}
SCSS
$custom: #4b259e;
$custom-light: #8664bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b259e",
  "rgb": {
    "r": 75,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 258.843,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.3961,
    "c": 0.1805,
    "h": 289.9
  },
  "luminance": 0.05288
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4B259E

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

Preview Lab → · Contrast checker → · Palette generator →

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