#4B30B2#4B30B2

#4B30B2 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.9% C 0.193 H 284.3°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#4B30B2
RGBrgb(75, 48, 178)
HSLhsl(252, 58%, 44%)
HSVhsv(252, 73%, 70%)
CMYKcmyk(57.9%, 73%, 0%, 30.2%)
CIE-LABlab(31.40, 46.46, -64.78)
CIE-LCHlch(31.40, 79.71, 305.65°)
OKLaboklab(42.91% 0.0477 -0.1865)
OKLCHoklch(42.91% 0.193 284.3)
XYZxyz(11.9920, 6.8234, 42.7960)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B30B2 #97B230
analogous
#3056B2 #4B30B2 #8C30B2
triadic
#4B30B2 #B24B30 #30B24B
tetradic
#4B30B2 #B23056 #97B230 #30B28C
square
#4B30B2 #B23056 #97B230 #30B28C
split-complementary
#4B30B2 #B28C30 #56B230
monochromatic
#221652 #372382 #4B30B2 #6A50D0 #9380DD

Accessibility & contrast

On white

8.88
#4B30B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4B30B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B30B2
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B30B2#FFFFFF#000000##FFFFFF
##4B30B21.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB6
Deuteranopia (green-blind)
#0046B0
Tritanopia (blue-blind)
#13546E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4b30b2;
/* rgb */ color: rgb(75, 48, 178);
/* oklch */ color: oklch(42.9% 0.193 284.3);
Tailwind
colors: {
  custom: {
    50: '#896bca',
    500: '#4b30b2',
    950: '#000000',
  },
}
SCSS
$custom: #4b30b2;
$custom-light: #896bca;
$custom-dark: #000000;
JSON
{
  "hex": "#4b30b2",
  "rgb": {
    "r": 75,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 252.462,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42905,
    "c": 0.19253,
    "h": 284.3
  },
  "luminance": 0.06824
}

Semantic roles & 50–950 ramp

primary
#4B30B2
secondary
#B6C678
accent
#E147C1
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4B30B2

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

Preview Lab → · Contrast checker → · Palette generator →

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