#4B259B#4B259B

#4B259B is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.177 H 290.5°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#4B259B
RGBrgb(75, 37, 155)
HSLhsl(259, 61%, 38%)
HSVhsv(259, 76%, 61%)
CMYKcmyk(51.6%, 76.1%, 0%, 39.2%)
CIE-LABlab(27.26, 45.41, -57.70)
CIE-LCHlch(27.26, 73.43, 308.20°)
OKLaboklab(39.33% 0.0621 -0.1658)
OKLCHoklch(39.33% 0.177 290.5)
XYZxyz(9.4779, 5.1852, 31.5054)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B259B #759B25
analogous
#253A9B #4B259B #86259B
triadic
#4B259B #9B4B25 #259B4B
tetradic
#4B259B #9B253A #759B25 #259B86
square
#4B259B #9B253A #759B25 #259B86
split-complementary
#4B259B #9B8625 #3A9B25
monochromatic
#1B0D38 #33196A #4B259B #6331CC #8861D9

Accessibility & contrast

On white

10.31
#4B259B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4B259B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B259B
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B259B#FFFFFF#000000##FFFFFF
##4B259B1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429E
Deuteranopia (green-blind)
#003E99
Tritanopia (blue-blind)
#2F455E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4b259b;
/* rgb */ color: rgb(75, 37, 155);
/* oklch */ color: oklch(39.3% 0.177 290.5);
Tailwind
colors: {
  custom: {
    50: '#8664ba',
    500: '#4b259b',
    950: '#000000',
  },
}
SCSS
$custom: #4b259b;
$custom-light: #8664ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4b259b",
  "rgb": {
    "r": 75,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 259.322,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39326,
    "c": 0.17702,
    "h": 290.5
  },
  "luminance": 0.05186
}

Semantic roles & 50–950 ramp

primary
#4B259B
secondary
#9FBF5D
accent
#E543B1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4B259B

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

Preview Lab → · Contrast checker → · Palette generator →

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