#4B2695#4B2695

#4B2695 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.9% C 0.169 H 291.8°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#4B2695
RGBrgb(75, 38, 149)
HSLhsl(260, 59%, 37%)
HSVhsv(260, 74%, 58%)
CMYKcmyk(49.7%, 74.5%, 0%, 41.6%)
CIE-LABlab(26.88, 43.22, -54.64)
CIE-LCHlch(26.88, 69.66, 308.34°)
OKLaboklab(38.89% 0.0628 -0.1568)
OKLCHoklch(38.89% 0.169 291.8)
XYZxyz(9.0181, 5.0517, 28.9279)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2695 #709526
analogous
#263995 #4B2695 #832695
triadic
#4B2695 #954B26 #26954B
tetradic
#4B2695 #952639 #709526 #269583
square
#4B2695 #952639 #709526 #269583
split-complementary
#4B2695 #958326 #399526
monochromatic
#1A0D33 #321A64 #4B2695 #6432C6 #875FD6

Accessibility & contrast

On white

10.45
#4B2695 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4B2695 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2695
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2695#FFFFFF#000000##FFFFFF
##4B26951.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#003D93
Tritanopia (blue-blind)
#33435B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4b2695;
/* rgb */ color: rgb(75, 38, 149);
/* oklch */ color: oklch(38.9% 0.169 291.8);
Tailwind
colors: {
  custom: {
    50: '#8564b5',
    500: '#4b2695',
    950: '#000000',
  },
}
SCSS
$custom: #4b2695;
$custom-light: #8564b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2695",
  "rgb": {
    "r": 75,
    "g": 38,
    "b": 149
  },
  "hsl": {
    "h": 260,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38893,
    "c": 0.16888,
    "h": 291.8
  },
  "luminance": 0.05052
}

Semantic roles & 50–950 ramp

primary
#4B2695
secondary
#9BBB5B
accent
#E345AE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4B2695

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

Preview Lab → · Contrast checker → · Palette generator →

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