#4B309A#4B309A

#4B309A is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.7% C 0.163 H 288.7°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#4B309A
RGBrgb(75, 48, 154)
HSLhsl(255, 52%, 40%)
HSVhsv(255, 69%, 60%)
CMYKcmyk(51.3%, 68.8%, 0%, 39.6%)
CIE-LABlab(29.27, 39.26, -53.80)
CIE-LCHlch(29.27, 66.61, 306.12°)
OKLaboklab(40.73% 0.0523 -0.1544)
OKLCHoklch(40.73% 0.163 288.7)
XYZxyz(9.7896, 5.9424, 31.1968)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B309A #7F9A30
analogous
#304A9A #4B309A #80309A
triadic
#4B309A #9A4B30 #309A4B
tetradic
#4B309A #9A304A #7F9A30 #309A80
square
#4B309A #9A304A #7F9A30 #309A80
split-complementary
#4B309A #9A8030 #4A9A30
monochromatic
#1E133D #34216B #4B309A #6443C4 #8A72D3

Accessibility & contrast

On white

9.60
#4B309A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4B309A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B309A
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B309A#FFFFFF#000000##FFFFFF
##4B309A1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479D
Deuteranopia (green-blind)
#004298
Tritanopia (blue-blind)
#2F4B61
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4b309a;
/* rgb */ color: rgb(75, 48, 154);
/* oklch */ color: oklch(40.7% 0.163 288.7);
Tailwind
colors: {
  custom: {
    50: '#856ab9',
    500: '#4b309a',
    950: '#000000',
  },
}
SCSS
$custom: #4b309a;
$custom-light: #856ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#4b309a",
  "rgb": {
    "r": 75,
    "g": 48,
    "b": 154
  },
  "hsl": {
    "h": 255.283,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40727,
    "c": 0.16299,
    "h": 288.7
  },
  "luminance": 0.05943
}

Semantic roles & 50–950 ramp

primary
#4B309A
secondary
#A6BB6B
accent
#DC4CB7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #4B309A

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

Preview Lab → · Contrast checker → · Palette generator →

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