#4B2FBA#4B2FBA

#4B2FBA is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 43.5% C 0.203 H 283.2°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#4B2FBA
RGBrgb(75, 47, 186)
HSLhsl(252, 60%, 46%)
HSVhsv(252, 75%, 73%)
CMYKcmyk(59.7%, 74.7%, 0%, 27.1%)
CIE-LABlab(31.97, 49.36, -68.58)
CIE-LCHlch(31.97, 84.50, 305.74°)
OKLaboklab(43.54% 0.0465 -0.1977)
OKLCHoklch(43.54% 0.203 283.2)
XYZxyz(12.7784, 7.0732, 47.1368)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2FBA #9EBA2F
analogous
#2F59BA #4B2FBA #902FBA
triadic
#4B2FBA #BA4B2F #2FBA4B
tetradic
#4B2FBA #BA2F59 #9EBA2F #2FBA90
square
#4B2FBA #BA2F59 #9EBA2F #2FBA90
split-complementary
#4B2FBA #BA902F #59BA2F
monochromatic
#241658 #372389 #4B2FBA #6D53D3 #9684E0

Accessibility & contrast

On white

8.70
#4B2FBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4B2FBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2FBA
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2FBA#FFFFFF#000000##FFFFFF
##4B2FBA1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBE
Deuteranopia (green-blind)
#0046B7
Tritanopia (blue-blind)
#005672
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4b2fba;
/* rgb */ color: rgb(75, 47, 186);
/* oklch */ color: oklch(43.5% 0.203 283.2);
Tailwind
colors: {
  custom: {
    50: '#8a6bd0',
    500: '#4b2fba',
    950: '#000000',
  },
}
SCSS
$custom: #4b2fba;
$custom-light: #8a6bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2fba",
  "rgb": {
    "r": 75,
    "g": 47,
    "b": 186
  },
  "hsl": {
    "h": 252.086,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.43538,
    "c": 0.20307,
    "h": 283.2
  },
  "luminance": 0.07074
}

Semantic roles & 50–950 ramp

primary
#4B2FBA
secondary
#B9C97C
accent
#E345C3
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4B2FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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