#4B27D0#4B27D0

#4B27D0 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.9% C 0.235 H 281.0°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#4B27D0
RGBrgb(75, 39, 208)
HSLhsl(253, 68%, 48%)
HSVhsv(253, 81%, 82%)
CMYKcmyk(63.9%, 81.3%, 0%, 18.4%)
CIE-LABlab(32.92, 59.40, -79.92)
CIE-LCHlch(32.92, 99.57, 306.62°)
OKLaboklab(44.86% 0.0449 -0.2306)
OKLCHoklch(44.86% 0.235 281)
XYZxyz(15.0087, 7.4998, 60.3190)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B27D0 #ACD027
analogous
#2757D0 #4B27D0 #9F27D0
triadic
#4B27D0 #D04B27 #27D04B
tetradic
#4B27D0 #D02757 #ACD027 #27D09F
square
#4B27D0 #D02757 #ACD027 #27D09F
split-complementary
#4B27D0 #D09F27 #57D027
monochromatic
#261469 #381D9C #4B27D0 #7255DF #9D89E9

Accessibility & contrast

On white

8.40
#4B27D0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4B27D0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B27D0
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B27D0#FFFFFF#000000##FFFFFF
##4B27D01.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053D5
Deuteranopia (green-blind)
#0047CD
Tritanopia (blue-blind)
#005C7D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4b27d0;
/* rgb */ color: rgb(75, 39, 208);
/* oklch */ color: oklch(44.9% 0.235 281.0);
Tailwind
colors: {
  custom: {
    50: '#8f68e0',
    500: '#4b27d0',
    950: '#000000',
  },
}
SCSS
$custom: #4b27d0;
$custom-light: #8f68e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4b27d0",
  "rgb": {
    "r": 75,
    "g": 39,
    "b": 208
  },
  "hsl": {
    "h": 252.781,
    "s": 68.421,
    "l": 48.431
  },
  "oklch": {
    "l": 0.44863,
    "c": 0.23496,
    "h": 281
  },
  "luminance": 0.07501
}

Semantic roles & 50–950 ramp

primary
#4B27D0
secondary
#C1D280
accent
#EB3DC6
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4B27D0

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

Preview Lab → · Contrast checker → · Palette generator →

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