#4B2FD2#4B2FD2

#4B2FD2 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.9% C 0.231 H 280.1°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#4B2FD2
RGBrgb(75, 47, 210)
HSLhsl(250, 64%, 50%)
HSVhsv(250, 78%, 82%)
CMYKcmyk(64.3%, 77.6%, 0%, 17.6%)
CIE-LABlab(34.36, 56.39, -78.70)
CIE-LCHlch(34.36, 96.82, 305.62°)
OKLaboklab(45.92% 0.0403 -0.2272)
OKLCHoklch(45.92% 0.231 280.1)
XYZxyz(15.5473, 8.1808, 61.7200)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2FD2 #B6D22F
analogous
#2F64D2 #4B2FD2 #9D2FD2
triadic
#4B2FD2 #D24B2F #2FD24B
tetradic
#4B2FD2 #D22F64 #B6D22F #2FD29D
square
#4B2FD2 #D22F64 #B6D22F #2FD29D
split-complementary
#4B2FD2 #D29D2F #64D22F
monochromatic
#27186F #3823A1 #4B2FD2 #7761DD #A294E8

Accessibility & contrast

On white

7.97
#4B2FD2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4B2FD2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2FD2
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2FD2#FFFFFF#000000##FFFFFF
##4B2FD21.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D7
Deuteranopia (green-blind)
#004ACF
Tritanopia (blue-blind)
#006080
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4b2fd2;
/* rgb */ color: rgb(75, 47, 210);
/* oklch */ color: oklch(45.9% 0.231 280.1);
Tailwind
colors: {
  custom: {
    50: '#8f6ce1',
    500: '#4b2fd2',
    950: '#000000',
  },
}
SCSS
$custom: #4b2fd2;
$custom-light: #8f6ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2fd2",
  "rgb": {
    "r": 75,
    "g": 47,
    "b": 210
  },
  "hsl": {
    "h": 250.307,
    "s": 64.427,
    "l": 50.392
  },
  "oklch": {
    "l": 0.45922,
    "c": 0.23074,
    "h": 280.1
  },
  "luminance": 0.08182
}

Semantic roles & 50–950 ramp

primary
#4B2FD2
secondary
#C6D38A
accent
#E740CB
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0E0715
muted
#7E7A84

Preview Lab

Preview with #4B2FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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