#4B367F#4B367F

#4B367F is a dark, moderate violet. Relative luminance 0.057; OKLCH L 39.6% C 0.119 H 293.5°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#4B367F
RGBrgb(75, 54, 127)
HSLhsl(257, 40%, 35%)
HSVhsv(257, 57%, 50%)
CMYKcmyk(40.9%, 57.5%, 0%, 50.2%)
CIE-LABlab(28.55, 27.54, -38.26)
CIE-LCHlch(28.55, 47.14, 305.74°)
OKLaboklab(39.56% 0.0473 -0.1087)
OKLCHoklch(39.56% 0.119 293.5)
XYZxyz(8.0506, 5.6663, 20.7441)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B367F #6A7F36
analogous
#36467F #4B367F #6F367F
triadic
#4B367F #7F4B36 #367F4B
tetradic
#4B367F #7F3646 #6A7F36 #367F6F
square
#4B367F #7F3646 #6A7F36 #367F6F
split-complementary
#4B367F #7F6F36 #467F36
monochromatic
#181129 #322454 #4B367F #6448AA #866EC1

Accessibility & contrast

On white

9.84
#4B367F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B367F
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B367F#FFFFFF#000000##FFFFFF
##4B367F1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124481
Deuteranopia (green-blind)
#18427D
Tritanopia (blue-blind)
#3E4555
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4b367f;
/* rgb */ color: rgb(75, 54, 127);
/* oklch */ color: oklch(39.6% 0.119 293.5);
Tailwind
colors: {
  custom: {
    50: '#816ea5',
    500: '#4b367f',
    950: '#000000',
  },
}
SCSS
$custom: #4b367f;
$custom-light: #816ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#4b367f",
  "rgb": {
    "r": 75,
    "g": 54,
    "b": 127
  },
  "hsl": {
    "h": 257.26,
    "s": 40.331,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39556,
    "c": 0.11852,
    "h": 293.5
  },
  "luminance": 0.05666
}

Semantic roles & 50–950 ramp

primary
#4B367F
secondary
#97AA67
accent
#D058AE
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4B367F

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

Preview Lab → · Contrast checker → · Palette generator →

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