#4B2095#4B2095

#4B2095 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.175 H 292.8°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#4B2095
RGBrgb(75, 32, 149)
HSLhsl(262, 65%, 35%)
HSVhsv(262, 79%, 58%)
CMYKcmyk(49.7%, 78.5%, 0%, 41.6%)
CIE-LABlab(25.86, 46.13, -56.32)
CIE-LCHlch(25.86, 72.80, 309.32°)
OKLaboklab(38.17% 0.0679 -0.1616)
OKLCHoklch(38.17% 0.175 292.8)
XYZxyz(8.8415, 4.6985, 28.8690)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2095 #6A9520
analogous
#203095 #4B2095 #852095
triadic
#4B2095 #954B20 #20954B
tetradic
#4B2095 #952030 #6A9520 #209585
square
#4B2095 #952030 #6A9520 #209585
split-complementary
#4B2095 #958520 #309520
monochromatic
#180A30 #321563 #4B2095 #642BC7 #8655DA

Accessibility & contrast

On white

10.83
#4B2095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#4B2095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2095
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2095#FFFFFF#000000##FFFFFF
##4B20951.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003B93
Tritanopia (blue-blind)
#33415A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4b2095;
/* rgb */ color: rgb(75, 32, 149);
/* oklch */ color: oklch(38.2% 0.175 292.8);
Tailwind
colors: {
  custom: {
    50: '#8561b5',
    500: '#4b2095',
    950: '#000000',
  },
}
SCSS
$custom: #4b2095;
$custom-light: #8561b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2095",
  "rgb": {
    "r": 75,
    "g": 32,
    "b": 149
  },
  "hsl": {
    "h": 262.051,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38174,
    "c": 0.17533,
    "h": 292.8
  },
  "luminance": 0.04699
}

Semantic roles & 50–950 ramp

primary
#4B2095
secondary
#97BE53
accent
#E840AA
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4B2095

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

Preview Lab → · Contrast checker → · Palette generator →

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