#4B258A#4B258A

#4B258A is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.8% C 0.157 H 294.9°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#4B258A
RGBrgb(75, 37, 138)
HSLhsl(263, 58%, 34%)
HSVhsv(263, 73%, 54%)
CMYKcmyk(45.7%, 73.2%, 0%, 45.9%)
CIE-LABlab(25.72, 40.63, -49.72)
CIE-LCHlch(25.72, 64.21, 309.25°)
OKLaboklab(37.77% 0.0662 -0.1423)
OKLCHoklch(37.77% 0.157 294.9)
XYZxyz(8.1494, 4.6538, 24.5087)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B258A #648A25
analogous
#25328A #4B258A #7E258A
triadic
#4B258A #8A4B25 #258A4B
tetradic
#4B258A #8A2532 #648A25 #258A7E
square
#4B258A #8A2532 #648A25 #258A7E
split-complementary
#4B258A #8A7E25 #328A25
monochromatic
#170B29 #31185A #4B258A #6532BA #8657D2

Accessibility & contrast

On white

10.88
#4B258A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#4B258A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B258A
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B258A#FFFFFF#000000##FFFFFF
##4B258A1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8D
Deuteranopia (green-blind)
#003B88
Tritanopia (blue-blind)
#393F55
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4b258a;
/* rgb */ color: rgb(75, 37, 138);
/* oklch */ color: oklch(37.8% 0.157 294.9);
Tailwind
colors: {
  custom: {
    50: '#8363ad',
    500: '#4b258a',
    950: '#000000',
  },
}
SCSS
$custom: #4b258a;
$custom-light: #8363ad;
$custom-dark: #000000;
JSON
{
  "hex": "#4b258a",
  "rgb": {
    "r": 75,
    "g": 37,
    "b": 138
  },
  "hsl": {
    "h": 262.574,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37773,
    "c": 0.15699,
    "h": 294.9
  },
  "luminance": 0.04654
}

Semantic roles & 50–950 ramp

primary
#4B258A
secondary
#92B754
accent
#E147A7
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #4B258A

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

Preview Lab → · Contrast checker → · Palette generator →

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