#4B367E#4B367E

#4B367E is a dark, moderate violet. Relative luminance 0.056; OKLCH L 39.5% C 0.117 H 293.8°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#4B367E
RGBrgb(75, 54, 126)
HSLhsl(258, 40%, 35%)
HSVhsv(258, 57%, 49%)
CMYKcmyk(40.5%, 57.1%, 0%, 50.6%)
CIE-LABlab(28.49, 27.24, -37.75)
CIE-LCHlch(28.49, 46.55, 305.82°)
OKLaboklab(39.48% 0.0473 -0.1072)
OKLCHoklch(39.48% 0.117 293.8)
XYZxyz(7.9857, 5.6404, 20.4026)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B367E #697E36
analogous
#36457E #4B367E #6F367E
triadic
#4B367E #7E4B36 #367E4B
tetradic
#4B367E #7E3645 #697E36 #367E6F
square
#4B367E #7E3645 #697E36 #367E6F
split-complementary
#4B367E #7E6F36 #457E36
monochromatic
#181128 #312453 #4B367E #6448A9 #866EC1

Accessibility & contrast

On white

9.87
#4B367E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4B367E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B367E
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B367E#FFFFFF#000000##FFFFFF
##4B367E1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144480
Deuteranopia (green-blind)
#1A427C
Tritanopia (blue-blind)
#3E4554
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4b367e;
/* rgb */ color: rgb(75, 54, 126);
/* oklch */ color: oklch(39.5% 0.117 293.8);
Tailwind
colors: {
  custom: {
    50: '#816ea4',
    500: '#4b367e',
    950: '#000000',
  },
}
SCSS
$custom: #4b367e;
$custom-light: #816ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#4b367e",
  "rgb": {
    "r": 75,
    "g": 54,
    "b": 126
  },
  "hsl": {
    "h": 257.5,
    "s": 40,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39484,
    "c": 0.11712,
    "h": 293.8
  },
  "luminance": 0.05641
}

Semantic roles & 50–950 ramp

primary
#4B367E
secondary
#96A967
accent
#D058AD
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4B367E

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

Preview Lab → · Contrast checker → · Palette generator →

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