#4B1965#4B1965

#4B1965 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.130 H 311.4°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#4B1965
RGBrgb(75, 25, 101)
HSLhsl(279, 60%, 25%)
HSVhsv(279, 75%, 40%)
CMYKcmyk(25.7%, 75.2%, 0%, 60.4%)
CIE-LABlab(20.56, 36.95, -34.48)
CIE-LCHlch(20.56, 50.53, 316.98°)
OKLaboklab(33.15% 0.086 -0.0974)
OKLCHoklch(33.15% 0.13 311.4)
XYZxyz(5.5978, 3.1308, 12.6188)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1965 #336519
analogous
#251965 #4B1965 #651959
triadic
#4B1965 #654B19 #19654B
tetradic
#4B1965 #652519 #336519 #195965
square
#4B1965 #652519 #336519 #195965
split-complementary
#4B1965 #596519 #196525
monochromatic
#120619 #270D34 #4B1965 #6F2596 #9431C7

Accessibility & contrast

On white

12.91
#4B1965 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4B1965 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1965
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1965#FFFFFF#000000##FFFFFF
##4B19651.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F67
Deuteranopia (green-blind)
#0E3263
Tritanopia (blue-blind)
#482A3D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4b1965;
/* rgb */ color: rgb(75, 25, 101);
/* oklch */ color: oklch(33.2% 0.130 311.4);
Tailwind
colors: {
  custom: {
    50: '#805b91',
    500: '#4b1965',
    950: '#000000',
  },
}
SCSS
$custom: #4b1965;
$custom-light: #805b91;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1965",
  "rgb": {
    "r": 75,
    "g": 25,
    "b": 101
  },
  "hsl": {
    "h": 279.474,
    "s": 60.317,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33152,
    "c": 0.12997,
    "h": 311.4
  },
  "luminance": 0.03131
}

Semantic roles & 50–950 ramp

primary
#4B1965
secondary
#5E9B3F
accent
#E3447B
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4B1965

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

Preview Lab → · Contrast checker → · Palette generator →

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