#4B1865#4B1865

#4B1865 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.0% C 0.131 H 311.6°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#4B1865
RGBrgb(75, 24, 101)
HSLhsl(280, 62%, 25%)
HSVhsv(280, 76%, 40%)
CMYKcmyk(25.7%, 76.2%, 0%, 60.4%)
CIE-LABlab(20.40, 37.41, -34.74)
CIE-LCHlch(20.40, 51.05, 317.12°)
OKLaboklab(33.03% 0.0871 -0.0982)
OKLCHoklch(33.03% 0.131 311.6)
XYZxyz(5.5768, 3.0889, 12.6118)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1865 #326518
analogous
#241865 #4B1865 #651859
triadic
#4B1865 #654B18 #18654B
tetradic
#4B1865 #652418 #326518 #185965
square
#4B1865 #652418 #326518 #185965
split-complementary
#4B1865 #596518 #186524
monochromatic
#120619 #260C34 #4B1865 #702496 #9430C8

Accessibility & contrast

On white

12.98
#4B1865 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#4B1865 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1865
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1865#FFFFFF#000000##FFFFFF
##4B18651.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F67
Deuteranopia (green-blind)
#0D3263
Tritanopia (blue-blind)
#48293D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4b1865;
/* rgb */ color: rgb(75, 24, 101);
/* oklch */ color: oklch(33.0% 0.131 311.6);
Tailwind
colors: {
  custom: {
    50: '#805a91',
    500: '#4b1865',
    950: '#000000',
  },
}
SCSS
$custom: #4b1865;
$custom-light: #805a91;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1865",
  "rgb": {
    "r": 75,
    "g": 24,
    "b": 101
  },
  "hsl": {
    "h": 279.74,
    "s": 61.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33035,
    "c": 0.1313,
    "h": 311.6
  },
  "luminance": 0.03089
}

Semantic roles & 50–950 ramp

primary
#4B1865
secondary
#5D9B3E
accent
#E5437A
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4B1865

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

Preview Lab → · Contrast checker → · Palette generator →

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