#4B258F#4B258F

#4B258F is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.2% C 0.163 H 293.6°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#4B258F
RGBrgb(75, 37, 143)
HSLhsl(262, 59%, 35%)
HSVhsv(262, 74%, 56%)
CMYKcmyk(47.6%, 74.1%, 0%, 43.9%)
CIE-LABlab(26.16, 42.03, -52.11)
CIE-LCHlch(26.16, 66.95, 308.89°)
OKLaboklab(38.22% 0.0651 -0.1493)
OKLCHoklch(38.22% 0.163 293.6)
XYZxyz(8.5198, 4.8019, 26.4592)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B258F #698F25
analogous
#25348F #4B258F #80258F
triadic
#4B258F #8F4B25 #258F4B
tetradic
#4B258F #8F2534 #698F25 #258F80
square
#4B258F #8F2534 #698F25 #258F80
split-complementary
#4B258F #8F8025 #348F25
monochromatic
#180C2E #31185E #4B258F #6432C0 #865AD4

Accessibility & contrast

On white

10.71
#4B258F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#4B258F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B258F
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B258F#FFFFFF#000000##FFFFFF
##4B258F1.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#374158
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4b258f;
/* rgb */ color: rgb(75, 37, 143);
/* oklch */ color: oklch(38.2% 0.163 293.6);
Tailwind
colors: {
  custom: {
    50: '#8463b1',
    500: '#4b258f',
    950: '#000000',
  },
}
SCSS
$custom: #4b258f;
$custom-light: #8463b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b258f",
  "rgb": {
    "r": 75,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 261.509,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38219,
    "c": 0.16293,
    "h": 293.6
  },
  "luminance": 0.04802
}

Semantic roles & 50–950 ramp

primary
#4B258F
secondary
#96B957
accent
#E246AA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4B258F

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

Preview Lab → · Contrast checker → · Palette generator →

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