#4B366E#4B366E

#4B366E is a dark, moderate violet. Relative luminance 0.053; OKLCH L 38.4% C 0.094 H 299.2°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#4B366E
RGBrgb(75, 54, 110)
HSLhsl(263, 34%, 32%)
HSVhsv(263, 51%, 43%)
CMYKcmyk(31.8%, 50.9%, 0%, 56.9%)
CIE-LABlab(27.46, 22.59, -29.25)
CIE-LCHlch(27.46, 36.96, 307.67°)
OKLaboklab(38.39% 0.046 -0.0823)
OKLCHoklch(38.39% 0.094 299.2)
XYZxyz(7.0346, 5.2599, 15.3935)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B366E #596E36
analogous
#363D6E #4B366E #67366E
triadic
#4B366E #6E4B36 #366E4B
tetradic
#4B366E #6E363D #596E36 #366E67
square
#4B366E #6E363D #596E36 #366E67
split-complementary
#4B366E #6E6736 #3D6E36
monochromatic
#130E1C #2F2245 #4B366E #674A97 #8669B5

Accessibility & contrast

On white

10.23
#4B366E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4B366E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B366E
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B366E#FFFFFF#000000##FFFFFF
##4B366E1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244170
Deuteranopia (green-blind)
#29406D
Tritanopia (blue-blind)
#44404C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4b366e;
/* rgb */ color: rgb(75, 54, 110);
/* oklch */ color: oklch(38.4% 0.094 299.2);
Tailwind
colors: {
  custom: {
    50: '#7f6d98',
    500: '#4b366e',
    950: '#000000',
  },
}
SCSS
$custom: #4b366e;
$custom-light: #7f6d98;
$custom-dark: #000000;
JSON
{
  "hex": "#4b366e",
  "rgb": {
    "r": 75,
    "g": 54,
    "b": 110
  },
  "hsl": {
    "h": 262.5,
    "s": 34.146,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38393,
    "c": 0.09428,
    "h": 299.2
  },
  "luminance": 0.0526
}

Semantic roles & 50–950 ramp

primary
#4B366E
secondary
#879E62
accent
#CA5EA1
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A070D
muted
#7C7A7E

Preview Lab

Preview with #4B366E

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

Preview Lab → · Contrast checker → · Palette generator →

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