#4B358E#4B358E

#4B358E is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.5% C 0.141 H 290.1°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#4B358E
RGBrgb(75, 53, 142)
HSLhsl(255, 46%, 38%)
HSVhsv(255, 63%, 56%)
CMYKcmyk(47.2%, 62.7%, 0%, 44.3%)
CIE-LABlab(29.40, 32.68, -46.23)
CIE-LCHlch(29.40, 56.61, 305.26°)
OKLaboklab(40.52% 0.0482 -0.1321)
OKLCHoklch(40.52% 0.141 290.1)
XYZxyz(9.0559, 5.9947, 26.2659)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B358E #788E35
analogous
#354C8E #4B358E #77358E
triadic
#4B358E #8E4B35 #358E4B
tetradic
#4B358E #8E354C #788E35 #358E77
square
#4B358E #8E354C #788E35 #358E77
split-complementary
#4B358E #8E7735 #4C8E35
monochromatic
#1C1435 #332461 #4B358E #6346BA #8873CB

Accessibility & contrast

On white

9.55
#4B358E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4B358E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B358E
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B358E#FFFFFF#000000##FFFFFF
##4B358E1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#00438C
Tritanopia (blue-blind)
#36495C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4b358e;
/* rgb */ color: rgb(75, 53, 142);
/* oklch */ color: oklch(40.5% 0.141 290.1);
Tailwind
colors: {
  custom: {
    50: '#836db0',
    500: '#4b358e',
    950: '#000000',
  },
}
SCSS
$custom: #4b358e;
$custom-light: #836db0;
$custom-dark: #000000;
JSON
{
  "hex": "#4b358e",
  "rgb": {
    "r": 75,
    "g": 53,
    "b": 142
  },
  "hsl": {
    "h": 254.831,
    "s": 45.641,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40521,
    "c": 0.14062,
    "h": 290.1
  },
  "luminance": 0.05995
}

Semantic roles & 50–950 ramp

primary
#4B358E
secondary
#A1B36C
accent
#D552B5
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4B358E

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

Preview Lab → · Contrast checker → · Palette generator →

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