#4B1F90#4B1F90

#4B1F90 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.171 H 294.3°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#4B1F90
RGBrgb(75, 31, 144)
HSLhsl(263, 65%, 34%)
HSVhsv(263, 78%, 56%)
CMYKcmyk(47.9%, 78.5%, 0%, 43.5%)
CIE-LABlab(25.23, 45.23, -54.26)
CIE-LCHlch(25.23, 70.64, 309.81°)
OKLaboklab(37.59% 0.0702 -0.1556)
OKLCHoklch(37.59% 0.171 294.3)
XYZxyz(8.4243, 4.4892, 26.8028)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1F90 #64901F
analogous
#1F2C90 #4B1F90 #841F90
triadic
#4B1F90 #904B1F #1F904B
tetradic
#4B1F90 #901F2C #64901F #1F9084
square
#4B1F90 #901F2C #64901F #1F9084
split-complementary
#4B1F90 #90841F #2C901F
monochromatic
#17092B #31145E #4B1F90 #652AC2 #8650D9

Accessibility & contrast

On white

11.07
#4B1F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#4B1F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1F90
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1F90#FFFFFF#000000##FFFFFF
##4B1F901.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D93
Deuteranopia (green-blind)
#003A8E
Tritanopia (blue-blind)
#363E57
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4b1f90;
/* rgb */ color: rgb(75, 31, 144);
/* oklch */ color: oklch(37.6% 0.171 294.3);
Tailwind
colors: {
  custom: {
    50: '#8560b2',
    500: '#4b1f90',
    950: '#000000',
  },
}
SCSS
$custom: #4b1f90;
$custom-light: #8560b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1f90",
  "rgb": {
    "r": 75,
    "g": 31,
    "b": 144
  },
  "hsl": {
    "h": 263.363,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37589,
    "c": 0.17071,
    "h": 294.3
  },
  "luminance": 0.04489
}

Semantic roles & 50–950 ramp

primary
#4B1F90
secondary
#92BC4E
accent
#E840A6
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4B1F90

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

Preview Lab → · Contrast checker → · Palette generator →

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