#4B2FAF#4B2FAF

#4B2FAF is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.5% C 0.190 H 285.0°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#4B2FAF
RGBrgb(75, 47, 175)
HSLhsl(253, 58%, 44%)
HSVhsv(253, 73%, 69%)
CMYKcmyk(57.1%, 73.1%, 0%, 31.4%)
CIE-LABlab(30.93, 46.10, -63.75)
CIE-LCHlch(30.93, 78.67, 305.87°)
OKLaboklab(42.49% 0.0491 -0.1835)
OKLCHoklch(42.49% 0.19 285)
XYZxyz(11.6537, 6.6233, 41.2135)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2FAF #93AF2F
analogous
#2F53AF #4B2FAF #8B2FAF
triadic
#4B2FAF #AF4B2F #2FAF4B
tetradic
#4B2FAF #AF2F53 #93AF2F #2FAF8B
square
#4B2FAF #AF2F53 #93AF2F #2FAF8B
split-complementary
#4B2FAF #AF8B2F #53AF2F
monochromatic
#22154F #36227F #4B2FAF #694CCF #917CDC

Accessibility & contrast

On white

9.03
#4B2FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4B2FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2FAF
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2FAF#FFFFFF#000000##FFFFFF
##4B2FAF1.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB3
Deuteranopia (green-blind)
#0045AD
Tritanopia (blue-blind)
#19526C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4b2faf;
/* rgb */ color: rgb(75, 47, 175);
/* oklch */ color: oklch(42.5% 0.190 285.0);
Tailwind
colors: {
  custom: {
    50: '#886ac8',
    500: '#4b2faf',
    950: '#000000',
  },
}
SCSS
$custom: #4b2faf;
$custom-light: #886ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2faf",
  "rgb": {
    "r": 75,
    "g": 47,
    "b": 175
  },
  "hsl": {
    "h": 253.125,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42489,
    "c": 0.19,
    "h": 285
  },
  "luminance": 0.06624
}

Semantic roles & 50–950 ramp

primary
#4B2FAF
secondary
#B3C475
accent
#E147BF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0713
muted
#7D7A82

Preview Lab

Preview with #4B2FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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