#4B348D#4B348D

#4B348D is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.3% C 0.141 H 290.6°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#4B348D
RGBrgb(75, 52, 141)
HSLhsl(256, 46%, 38%)
HSVhsv(256, 63%, 55%)
CMYKcmyk(46.8%, 63.1%, 0%, 44.7%)
CIE-LABlab(29.09, 32.99, -46.10)
CIE-LCHlch(29.09, 56.69, 305.58°)
OKLaboklab(40.27% 0.0495 -0.1317)
OKLCHoklch(40.27% 0.141 290.6)
XYZxyz(8.9360, 5.8746, 25.8572)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B348D #768D34
analogous
#34498D #4B348D #78348D
triadic
#4B348D #8D4B34 #348D4B
tetradic
#4B348D #8D3449 #768D34 #348D78
square
#4B348D #8D3449 #768D34 #348D78
split-complementary
#4B348D #8D7834 #498D34
monochromatic
#1B1334 #332460 #4B348D #6344BA #8871CB

Accessibility & contrast

On white

9.66
#4B348D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4B348D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B348D
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B348D#FFFFFF#000000##FFFFFF
##4B348D1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#00438B
Tritanopia (blue-blind)
#37495B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4b348d;
/* rgb */ color: rgb(75, 52, 141);
/* oklch */ color: oklch(40.3% 0.141 290.6);
Tailwind
colors: {
  custom: {
    50: '#836caf',
    500: '#4b348d',
    950: '#000000',
  },
}
SCSS
$custom: #4b348d;
$custom-light: #836caf;
$custom-dark: #000000;
JSON
{
  "hex": "#4b348d",
  "rgb": {
    "r": 75,
    "g": 52,
    "b": 141
  },
  "hsl": {
    "h": 255.506,
    "s": 46.114,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40274,
    "c": 0.14071,
    "h": 290.6
  },
  "luminance": 0.05875
}

Semantic roles & 50–950 ramp

primary
#4B348D
secondary
#A0B36A
accent
#D652B4
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4B348D

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

Preview Lab → · Contrast checker → · Palette generator →

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