#4B38AA#4B38AA

#4B38AA is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.3% C 0.173 H 284.1°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#4B38AA
RGBrgb(75, 56, 170)
HSLhsl(250, 50%, 44%)
HSVhsv(250, 67%, 67%)
CMYKcmyk(55.9%, 67.1%, 0%, 33.3%)
CIE-LABlab(32.32, 39.54, -58.50)
CIE-LCHlch(32.32, 70.61, 304.05°)
OKLaboklab(43.34% 0.0423 -0.1682)
OKLCHoklch(43.34% 0.173 284.1)
XYZxyz(11.5693, 7.2258, 38.8075)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B38AA #97AA38
analogous
#385EAA #4B38AA #8438AA
triadic
#4B38AA #AA4B38 #38AA4B
tetradic
#4B38AA #AA385E #97AA38 #38AA84
square
#4B38AA #AA385E #97AA38 #38AA84
split-complementary
#4B38AA #AA8438 #5EAA38
monochromatic
#221A4E #37297C #4B38AA #6A57C8 #9385D7

Accessibility & contrast

On white

8.59
#4B38AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4B38AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B38AA
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B38AA#FFFFFF#000000##FFFFFF
##4B38AA1.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#0048A8
Tritanopia (blue-blind)
#1F556C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4b38aa;
/* rgb */ color: rgb(75, 56, 170);
/* oklch */ color: oklch(43.3% 0.173 284.1);
Tailwind
colors: {
  custom: {
    50: '#8770c4',
    500: '#4b38aa',
    950: '#000000',
  },
}
SCSS
$custom: #4b38aa;
$custom-light: #8770c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4b38aa",
  "rgb": {
    "r": 75,
    "g": 56,
    "b": 170
  },
  "hsl": {
    "h": 250,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43341,
    "c": 0.17339,
    "h": 284.1
  },
  "luminance": 0.07226
}

Semantic roles & 50–950 ramp

primary
#4B38AA
secondary
#B6C17D
accent
#DA4EC3
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4B38AA

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

Preview Lab → · Contrast checker → · Palette generator →

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