#4B309F#4B309F

#4B309F is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.2% C 0.169 H 287.7°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#4B309F
RGBrgb(75, 48, 159)
HSLhsl(255, 54%, 41%)
HSVhsv(255, 70%, 62%)
CMYKcmyk(52.8%, 69.8%, 0%, 37.6%)
CIE-LABlab(29.69, 40.76, -56.15)
CIE-LCHlch(29.69, 69.38, 305.98°)
OKLaboklab(41.17% 0.0515 -0.1612)
OKLCHoklch(41.17% 0.169 287.7)
XYZxyz(10.2148, 6.1125, 33.4358)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B309F #849F30
analogous
#304C9F #4B309F #82309F
triadic
#4B309F #9F4B30 #309F4B
tetradic
#4B309F #9F304C #849F30 #309F82
square
#4B309F #9F304C #849F30 #309F82
split-complementary
#4B309F #9F8230 #4C9F30
monochromatic
#1F1441 #352270 #4B309F #6545C7 #8C74D5

Accessibility & contrast

On white

9.45
#4B309F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#4B309F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B309F
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B309F#FFFFFF#000000##FFFFFF
##4B309F1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#00439D
Tritanopia (blue-blind)
#2B4C64
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4b309f;
/* rgb */ color: rgb(75, 48, 159);
/* oklch */ color: oklch(41.2% 0.169 287.7);
Tailwind
colors: {
  custom: {
    50: '#866abc',
    500: '#4b309f',
    950: '#000000',
  },
}
SCSS
$custom: #4b309f;
$custom-light: #866abc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b309f",
  "rgb": {
    "r": 75,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 254.595,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41166,
    "c": 0.16926,
    "h": 287.7
  },
  "luminance": 0.06113
}

Semantic roles & 50–950 ramp

primary
#4B309F
secondary
#AABD6E
accent
#DD4BB9
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4B309F

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

Preview Lab → · Contrast checker → · Palette generator →

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