#4B2C81#4B2C81

#4B2C81 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.0% C 0.136 H 296.0°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#4B2C81
RGBrgb(75, 44, 129)
HSLhsl(262, 49%, 34%)
HSVhsv(262, 66%, 51%)
CMYKcmyk(41.9%, 65.9%, 0%, 49.4%)
CIE-LABlab(26.40, 34.20, -43.00)
CIE-LCHlch(26.40, 54.94, 308.50°)
OKLaboklab(38.02% 0.0599 -0.1226)
OKLCHoklch(38.02% 0.136 296)
XYZxyz(7.7637, 4.8820, 21.2979)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2C81 #62812C
analogous
#2C3881 #4B2C81 #762C81
triadic
#4B2C81 #814B2C #2C814B
tetradic
#4B2C81 #812C38 #62812C #2C8176
square
#4B2C81 #812C38 #62812C #2C8176
split-complementary
#4B2C81 #81762C #38812C
monochromatic
#160D26 #301C53 #4B2C81 #663CAF #855FC8

Accessibility & contrast

On white

10.63
#4B2C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#4B2C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2C81
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2C81#FFFFFF#000000##FFFFFF
##4B2C811.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F84
Deuteranopia (green-blind)
#003D7F
Tritanopia (blue-blind)
#3D3F52
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4b2c81;
/* rgb */ color: rgb(75, 44, 129);
/* oklch */ color: oklch(38.0% 0.136 296.0);
Tailwind
colors: {
  custom: {
    50: '#8267a6',
    500: '#4b2c81',
    950: '#000000',
  },
}
SCSS
$custom: #4b2c81;
$custom-light: #8267a6;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2c81",
  "rgb": {
    "r": 75,
    "g": 44,
    "b": 129
  },
  "hsl": {
    "h": 261.882,
    "s": 49.133,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38024,
    "c": 0.13646,
    "h": 296
  },
  "luminance": 0.04882
}

Semantic roles & 50–950 ramp

primary
#4B2C81
secondary
#90AF5A
accent
#D94FA7
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B060F
muted
#7C7A7F

Preview Lab

Preview with #4B2C81

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

Preview Lab → · Contrast checker → · Palette generator →

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