#4B1F94#4B1F94

#4B1F94 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.175 H 293.2°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#4B1F94
RGBrgb(75, 31, 148)
HSLhsl(263, 65%, 35%)
HSVhsv(263, 79%, 58%)
CMYKcmyk(49.3%, 79.1%, 0%, 42%)
CIE-LABlab(25.60, 46.31, -56.12)
CIE-LCHlch(25.60, 72.76, 309.53°)
OKLaboklab(37.97% 0.069 -0.161)
OKLCHoklch(37.97% 0.175 293.2)
XYZxyz(8.7354, 4.6137, 28.4415)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1F94 #68941F
analogous
#1F2E94 #4B1F94 #851F94
triadic
#4B1F94 #944B1F #1F944B
tetradic
#4B1F94 #941F2E #68941F #1F9485
square
#4B1F94 #941F2E #68941F #1F9485
split-complementary
#4B1F94 #94851F #2E941F
monochromatic
#180A2F #311461 #4B1F94 #652AC7 #8653DB

Accessibility & contrast

On white

10.92
#4B1F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#4B1F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1F94
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1F94#FFFFFF#000000##FFFFFF
##4B1F941.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E97
Deuteranopia (green-blind)
#003A92
Tritanopia (blue-blind)
#344059
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4b1f94;
/* rgb */ color: rgb(75, 31, 148);
/* oklch */ color: oklch(38.0% 0.175 293.2);
Tailwind
colors: {
  custom: {
    50: '#8560b4',
    500: '#4b1f94',
    950: '#000000',
  },
}
SCSS
$custom: #4b1f94;
$custom-light: #8560b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1f94",
  "rgb": {
    "r": 75,
    "g": 31,
    "b": 148
  },
  "hsl": {
    "h": 262.564,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37968,
    "c": 0.1752,
    "h": 293.2
  },
  "luminance": 0.04614
}

Semantic roles & 50–950 ramp

primary
#4B1F94
secondary
#95BE51
accent
#E83FA9
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4B1F94

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

Preview Lab → · Contrast checker → · Palette generator →

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