#4B2F90#4B2F90

#4B2F90 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.7% C 0.152 H 291.2°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#4B2F90
RGBrgb(75, 47, 144)
HSLhsl(257, 51%, 37%)
HSVhsv(257, 67%, 56%)
CMYKcmyk(47.9%, 67.4%, 0%, 43.5%)
CIE-LABlab(28.23, 36.85, -49.36)
CIE-LCHlch(28.23, 61.60, 306.74°)
OKLaboklab(39.72% 0.0548 -0.1413)
OKLCHoklch(39.72% 0.152 291.2)
XYZxyz(8.9508, 5.5422, 26.9783)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2F90 #74902F
analogous
#2F4390 #4B2F90 #7C2F90
triadic
#4B2F90 #904B2F #2F904B
tetradic
#4B2F90 #902F43 #74902F #2F907C
square
#4B2F90 #902F43 #74902F #2F907C
split-complementary
#4B2F90 #907C2F #43902F
monochromatic
#1B1134 #332062 #4B2F90 #633EBE #886BCF

Accessibility & contrast

On white

9.96
#4B2F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4B2F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2F90
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2F90#FFFFFF#000000##FFFFFF
##4B2F901.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004493
Deuteranopia (green-blind)
#00408E
Tritanopia (blue-blind)
#36465B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4b2f90;
/* rgb */ color: rgb(75, 47, 144);
/* oklch */ color: oklch(39.7% 0.152 291.2);
Tailwind
colors: {
  custom: {
    50: '#8469b1',
    500: '#4b2f90',
    950: '#000000',
  },
}
SCSS
$custom: #4b2f90;
$custom-light: #8469b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2f90",
  "rgb": {
    "r": 75,
    "g": 47,
    "b": 144
  },
  "hsl": {
    "h": 257.32,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.3972,
    "c": 0.15157,
    "h": 291.2
  },
  "luminance": 0.05543
}

Semantic roles & 50–950 ramp

primary
#4B2F90
secondary
#9EB665
accent
#DA4EB2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #4B2F90

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

Preview Lab → · Contrast checker → · Palette generator →

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