#4B195F#4B195F

#4B195F is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.7% C 0.124 H 314.6°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#4B195F
RGBrgb(75, 25, 95)
HSLhsl(283, 58%, 24%)
HSVhsv(283, 74%, 37%)
CMYKcmyk(21.1%, 73.7%, 0%, 62.7%)
CIE-LABlab(20.11, 35.53, -31.24)
CIE-LCHlch(20.11, 47.31, 318.68°)
OKLaboklab(32.69% 0.0867 -0.088)
OKLCHoklch(32.69% 0.124 314.6)
XYZxyz(5.3145, 3.0175, 11.1267)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B195F #2D5F19
analogous
#28195F #4B195F #5F1950
triadic
#4B195F #5F4B19 #195F4B
tetradic
#4B195F #5F2819 #2D5F19 #19505F
square
#4B195F #5F2819 #2D5F19 #19505F
split-complementary
#4B195F #505F19 #195F28
monochromatic
#130618 #250C2F #4B195F #71268F #9732C0

Accessibility & contrast

On white

13.10
#4B195F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#4B195F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B195F
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B195F#FFFFFF#000000##FFFFFF
##4B195F1.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E61
Deuteranopia (green-blind)
#16325D
Tritanopia (blue-blind)
#49273A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4b195f;
/* rgb */ color: rgb(75, 25, 95);
/* oklch */ color: oklch(32.7% 0.124 314.6);
Tailwind
colors: {
  custom: {
    50: '#805a8d',
    500: '#4b195f',
    950: '#000000',
  },
}
SCSS
$custom: #4b195f;
$custom-light: #805a8d;
$custom-dark: #000000;
JSON
{
  "hex": "#4b195f",
  "rgb": {
    "r": 75,
    "g": 25,
    "b": 95
  },
  "hsl": {
    "h": 282.857,
    "s": 58.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.32691,
    "c": 0.12351,
    "h": 314.6
  },
  "luminance": 0.03017
}

Semantic roles & 50–950 ramp

primary
#4B195F
secondary
#57953F
accent
#E24673
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #4B195F

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

Preview Lab → · Contrast checker → · Palette generator →

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