#4E30BE#4E30BE

#4E30BE is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.3% C 0.206 H 283.8°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#4E30BE
RGBrgb(78, 48, 190)
HSLhsl(253, 60%, 47%)
HSVhsv(253, 75%, 75%)
CMYKcmyk(58.9%, 74.7%, 0%, 25.5%)
CIE-LABlab(32.81, 50.42, -69.56)
CIE-LCHlch(32.81, 85.91, 305.94°)
OKLaboklab(44.31% 0.0492 -0.2004)
OKLCHoklch(44.31% 0.206 283.8)
XYZxyz(13.4902, 7.4504, 49.4324)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E30BE #A0BE30
analogous
#3059BE #4E30BE #9530BE
triadic
#4E30BE #BE4E30 #30BE4E
tetradic
#4E30BE #BE3059 #A0BE30 #30BE95
square
#4E30BE #BE3059 #A0BE30 #30BE95
split-complementary
#4E30BE #BE9530 #59BE30
monochromatic
#26175C #3A248D #4E30BE #7157D4 #9A88E1

Accessibility & contrast

On white

8.43
#4E30BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4E30BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E30BE
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E30BE#FFFFFF#000000##FFFFFF
##4E30BE1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C2
Deuteranopia (green-blind)
#0048BB
Tritanopia (blue-blind)
#045875
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e30be;
/* rgb */ color: rgb(78, 48, 190);
/* oklch */ color: oklch(44.3% 0.206 283.8);
Tailwind
colors: {
  custom: {
    50: '#8c6cd3',
    500: '#4e30be',
    950: '#000000',
  },
}
SCSS
$custom: #4e30be;
$custom-light: #8c6cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e30be",
  "rgb": {
    "r": 78,
    "g": 48,
    "b": 190
  },
  "hsl": {
    "h": 252.676,
    "s": 59.664,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44312,
    "c": 0.20638,
    "h": 283.8
  },
  "luminance": 0.07451
}

Semantic roles & 50–950 ramp

primary
#4E30BE
secondary
#BBCB7F
accent
#E345C1
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4E30BE

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

Preview Lab → · Contrast checker → · Palette generator →

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