#4830B1#4830B1

#4830B1 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.5% C 0.192 H 283.1°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#4830B1
RGBrgb(72, 48, 177)
HSLhsl(251, 57%, 44%)
HSVhsv(251, 73%, 69%)
CMYKcmyk(59.3%, 72.9%, 0%, 30.6%)
CIE-LABlab(31.03, 45.74, -64.80)
CIE-LCHlch(31.03, 79.31, 305.22°)
OKLaboklab(42.55% 0.0436 -0.1867)
OKLCHoklch(42.55% 0.192 283.1)
XYZxyz(11.6628, 6.6652, 42.2584)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4830B1 #99B130
analogous
#3059B1 #4830B1 #8930B1
triadic
#4830B1 #B14830 #30B148
tetradic
#4830B1 #B13059 #99B130 #30B189
square
#4830B1 #B13059 #99B130 #30B189
split-complementary
#4830B1 #B18930 #59B130
monochromatic
#211651 #342381 #4830B1 #674FCF #907FDC

Accessibility & contrast

On white

9.00
#4830B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4830B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4830B1
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4830B1#FFFFFF#000000##FFFFFF
##4830B11.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB5
Deuteranopia (green-blind)
#0045AF
Tritanopia (blue-blind)
#02536D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4830b1;
/* rgb */ color: rgb(72, 48, 177);
/* oklch */ color: oklch(42.5% 0.192 283.1);
Tailwind
colors: {
  custom: {
    50: '#876bc9',
    500: '#4830b1',
    950: '#000000',
  },
}
SCSS
$custom: #4830b1;
$custom-light: #876bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#4830b1",
  "rgb": {
    "r": 72,
    "g": 48,
    "b": 177
  },
  "hsl": {
    "h": 251.163,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42548,
    "c": 0.1917,
    "h": 283.1
  },
  "luminance": 0.06666
}

Semantic roles & 50–950 ramp

primary
#4830B1
secondary
#B7C578
accent
#E147C4
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4830B1

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

Preview Lab → · Contrast checker → · Palette generator →

#4830B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva