#4B368D#4B368D

#4B368D is a dark, vivid violet. Relative luminance 0.061; OKLCH L 40.6% C 0.138 H 290.0°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#4B368D
RGBrgb(75, 54, 141)
HSLhsl(254, 45%, 38%)
HSVhsv(254, 62%, 55%)
CMYKcmyk(46.8%, 61.7%, 0%, 44.7%)
CIE-LABlab(29.56, 31.77, -45.36)
CIE-LCHlch(29.56, 55.37, 305.01°)
OKLaboklab(40.61% 0.0471 -0.1295)
OKLCHoklch(40.61% 0.138 290)
XYZxyz(9.0272, 6.0569, 25.8876)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B368D #788D36
analogous
#364C8D #4B368D #76368D
triadic
#4B368D #8D4B36 #368D4B
tetradic
#4B368D #8D364C #788D36 #368D76
square
#4B368D #8D364C #788D36 #368D76
split-complementary
#4B368D #8D7636 #4C8D36
monochromatic
#1C1434 #332561 #4B368D #6347B9 #8874CA

Accessibility & contrast

On white

9.50
#4B368D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4B368D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B368D
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B368D#FFFFFF#000000##FFFFFF
##4B368D1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#374A5C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4b368d;
/* rgb */ color: rgb(75, 54, 141);
/* oklch */ color: oklch(40.6% 0.138 290.0);
Tailwind
colors: {
  custom: {
    50: '#836eaf',
    500: '#4b368d',
    950: '#000000',
  },
}
SCSS
$custom: #4b368d;
$custom-light: #836eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#4b368d",
  "rgb": {
    "r": 75,
    "g": 54,
    "b": 141
  },
  "hsl": {
    "h": 254.483,
    "s": 44.615,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40612,
    "c": 0.13783,
    "h": 290
  },
  "luminance": 0.06057
}

Semantic roles & 50–950 ramp

primary
#4B368D
secondary
#A1B26D
accent
#D453B5
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4B368D

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

Preview Lab → · Contrast checker → · Palette generator →

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