#4B259F#4B259F

#4B259F is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.182 H 289.6°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#4B259F
RGBrgb(75, 37, 159)
HSLhsl(259, 62%, 38%)
HSVhsv(259, 77%, 62%)
CMYKcmyk(52.8%, 76.7%, 0%, 37.6%)
CIE-LABlab(27.63, 46.54, -59.53)
CIE-LCHlch(27.63, 75.56, 308.02°)
OKLaboklab(39.71% 0.061 -0.1711)
OKLCHoklch(39.71% 0.182 289.6)
XYZxyz(9.8194, 5.3218, 33.3040)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B259F #799F25
analogous
#253C9F #4B259F #88259F
triadic
#4B259F #9F4B25 #259F4B
tetradic
#4B259F #9F253C #799F25 #259F88
square
#4B259F #9F253C #799F25 #259F88
split-complementary
#4B259F #9F8825 #3C9F25
monochromatic
#1C0E3C #34196D #4B259F #6332CF #8964DB

Accessibility & contrast

On white

10.17
#4B259F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B259F
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B259F#FFFFFF#000000##FFFFFF
##4B259F1.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#2C4761
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4b259f;
/* rgb */ color: rgb(75, 37, 159);
/* oklch */ color: oklch(39.7% 0.182 289.6);
Tailwind
colors: {
  custom: {
    50: '#8764bc',
    500: '#4b259f',
    950: '#000000',
  },
}
SCSS
$custom: #4b259f;
$custom-light: #8764bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b259f",
  "rgb": {
    "r": 75,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 258.689,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39705,
    "c": 0.18165,
    "h": 289.6
  },
  "luminance": 0.05322
}

Semantic roles & 50–950 ramp

primary
#4B259F
secondary
#A2C05F
accent
#E542B3
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4B259F

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

Preview Lab → · Contrast checker → · Palette generator →

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