#4B308D#4B308D

#4B308D is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.6% C 0.146 H 291.7°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#4B308D
RGBrgb(75, 48, 141)
HSLhsl(257, 49%, 37%)
HSVhsv(257, 66%, 55%)
CMYKcmyk(46.8%, 66%, 0%, 44.7%)
CIE-LABlab(28.20, 35.37, -47.55)
CIE-LCHlch(28.20, 59.27, 306.64°)
OKLaboklab(39.63% 0.054 -0.136)
OKLCHoklch(39.63% 0.146 291.7)
XYZxyz(8.7650, 5.5326, 25.8002)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B308D #728D30
analogous
#30448D #4B308D #79308D
triadic
#4B308D #8D4B30 #308D4B
tetradic
#4B308D #8D3044 #728D30 #308D79
square
#4B308D #8D3044 #728D30 #308D79
split-complementary
#4B308D #8D7930 #448D30
monochromatic
#1A1132 #33205F #4B308D #6340BB #876BCD

Accessibility & contrast

On white

9.97
#4B308D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4B308D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B308D
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B308D#FFFFFF#000000##FFFFFF
##4B308D1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#00418B
Tritanopia (blue-blind)
#37465A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4b308d;
/* rgb */ color: rgb(75, 48, 141);
/* oklch */ color: oklch(39.6% 0.146 291.7);
Tailwind
colors: {
  custom: {
    50: '#836aaf',
    500: '#4b308d',
    950: '#000000',
  },
}
SCSS
$custom: #4b308d;
$custom-light: #836aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#4b308d",
  "rgb": {
    "r": 75,
    "g": 48,
    "b": 141
  },
  "hsl": {
    "h": 257.419,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39626,
    "c": 0.14633,
    "h": 291.7
  },
  "luminance": 0.05533
}

Semantic roles & 50–950 ramp

primary
#4B308D
secondary
#9DB465
accent
#D94FB1
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4B308D

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

Preview Lab → · Contrast checker → · Palette generator →

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