#4B259C#4B259C

#4B259C is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.4% C 0.178 H 290.3°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#4B259C
RGBrgb(75, 37, 156)
HSLhsl(259, 62%, 38%)
HSVhsv(259, 76%, 61%)
CMYKcmyk(51.9%, 76.3%, 0%, 38.8%)
CIE-LABlab(27.35, 45.70, -58.16)
CIE-LCHlch(27.35, 73.96, 308.16°)
OKLaboklab(39.42% 0.0619 -0.1671)
OKLCHoklch(39.42% 0.178 290.3)
XYZxyz(9.5622, 5.2189, 31.9495)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B259C #769C25
analogous
#253A9C #4B259C #87259C
triadic
#4B259C #9C4B25 #259C4B
tetradic
#4B259C #9C253A #769C25 #259C87
square
#4B259C #9C253A #769C25 #259C87
split-complementary
#4B259C #9C8725 #3A9C25
monochromatic
#1B0E39 #33196B #4B259C #6331CD #8862DA

Accessibility & contrast

On white

10.27
#4B259C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B259C
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B259C#FFFFFF#000000##FFFFFF
##4B259C1.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#003E9A
Tritanopia (blue-blind)
#2E465F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4b259c;
/* rgb */ color: rgb(75, 37, 156);
/* oklch */ color: oklch(39.4% 0.178 290.3);
Tailwind
colors: {
  custom: {
    50: '#8664ba',
    500: '#4b259c',
    950: '#000000',
  },
}
SCSS
$custom: #4b259c;
$custom-light: #8664ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4b259c",
  "rgb": {
    "r": 75,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 259.16,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.3942,
    "c": 0.17818,
    "h": 290.3
  },
  "luminance": 0.05219
}

Semantic roles & 50–950 ramp

primary
#4B259C
secondary
#A0BF5E
accent
#E543B1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4B259C

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

Preview Lab → · Contrast checker → · Palette generator →

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