#4B308E#4B308E

#4B308E is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.7% C 0.148 H 291.4°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#4B308E
RGBrgb(75, 48, 142)
HSLhsl(257, 49%, 37%)
HSVhsv(257, 66%, 56%)
CMYKcmyk(47.2%, 66.2%, 0%, 44.3%)
CIE-LABlab(28.28, 35.67, -48.04)
CIE-LCHlch(28.28, 59.84, 306.59°)
OKLaboklab(39.71% 0.0539 -0.1374)
OKLCHoklch(39.71% 0.148 291.4)
XYZxyz(8.8397, 5.5624, 26.1938)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B308E #738E30
analogous
#30448E #4B308E #7A308E
triadic
#4B308E #8E4B30 #308E4B
tetradic
#4B308E #8E3044 #738E30 #308E7A
square
#4B308E #8E3044 #738E30 #308E7A
split-complementary
#4B308E #8E7A30 #448E30
monochromatic
#1B1133 #332160 #4B308E #633FBC #876BCD

Accessibility & contrast

On white

9.94
#4B308E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B308E
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B308E#FFFFFF#000000##FFFFFF
##4B308E1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b308e;
/* rgb */ color: rgb(75, 48, 142);
/* oklch */ color: oklch(39.7% 0.148 291.4);
Tailwind
colors: {
  custom: {
    50: '#836ab0',
    500: '#4b308e',
    950: '#000000',
  },
}
SCSS
$custom: #4b308e;
$custom-light: #836ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#4b308e",
  "rgb": {
    "r": 75,
    "g": 48,
    "b": 142
  },
  "hsl": {
    "h": 257.234,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39708,
    "c": 0.14763,
    "h": 291.4
  },
  "luminance": 0.05563
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4B308E

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

Preview Lab → · Contrast checker → · Palette generator →

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