#4B307C#4B307C

#4B307C is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.3% C 0.124 H 296.5°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#4B307C
RGBrgb(75, 48, 124)
HSLhsl(261, 44%, 34%)
HSVhsv(261, 61%, 49%)
CMYKcmyk(39.5%, 61.3%, 0%, 51.4%)
CIE-LABlab(26.92, 30.37, -39.01)
CIE-LCHlch(26.92, 49.44, 307.90°)
OKLaboklab(38.29% 0.0552 -0.1109)
OKLCHoklch(38.29% 0.124 296.5)
XYZxyz(7.5958, 5.0649, 19.6423)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B307C #617C30
analogous
#303B7C #4B307C #71307C
triadic
#4B307C #7C4B30 #307C4B
tetradic
#4B307C #7C303B #617C30 #307C71
square
#4B307C #7C303B #617C30 #307C71
split-complementary
#4B307C #7C7130 #3B7C30
monochromatic
#160E24 #301F50 #4B307C #6641A8 #8564C3

Accessibility & contrast

On white

10.43
#4B307C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4B307C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B307C
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B307C#FFFFFF#000000##FFFFFF
##4B307C1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02407E
Deuteranopia (green-blind)
#103F7A
Tritanopia (blue-blind)
#3F4051
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4b307c;
/* rgb */ color: rgb(75, 48, 124);
/* oklch */ color: oklch(38.3% 0.124 296.5);
Tailwind
colors: {
  custom: {
    50: '#8169a2',
    500: '#4b307c',
    950: '#000000',
  },
}
SCSS
$custom: #4b307c;
$custom-light: #8169a2;
$custom-dark: #000000;
JSON
{
  "hex": "#4b307c",
  "rgb": {
    "r": 75,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 261.316,
    "s": 44.186,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38286,
    "c": 0.12385,
    "h": 296.5
  },
  "luminance": 0.05065
}

Semantic roles & 50–950 ramp

primary
#4B307C
secondary
#8FAA5E
accent
#D454A6
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B060F
muted
#7C7A7F

Preview Lab

Preview with #4B307C

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

Preview Lab → · Contrast checker → · Palette generator →

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