#4830AA#4830AA

#4830AA is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.9% C 0.183 H 284.2°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#4830AA
RGBrgb(72, 48, 170)
HSLhsl(252, 56%, 43%)
HSVhsv(252, 72%, 67%)
CMYKcmyk(57.6%, 71.8%, 0%, 33.3%)
CIE-LABlab(30.38, 43.61, -61.67)
CIE-LCHlch(30.38, 75.53, 305.26°)
OKLaboklab(41.89% 0.045 -0.1776)
OKLCHoklch(41.89% 0.183 284.2)
XYZxyz(10.9829, 6.3932, 38.6777)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4830AA #92AA30
analogous
#3055AA #4830AA #8530AA
triadic
#4830AA #AA4830 #30AA48
tetradic
#4830AA #AA3055 #92AA30 #30AA85
square
#4830AA #AA3055 #92AA30 #30AA85
split-complementary
#4830AA #AA8530 #55AA30
monochromatic
#20154B #34237A #4830AA #644BCC #8D7BDA

Accessibility & contrast

On white

9.22
#4830AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#4830AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4830AA#FFFFFF#000000##FFFFFF
##4830AA1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAE
Deuteranopia (green-blind)
#0044A8
Tritanopia (blue-blind)
#14516A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4830aa;
/* rgb */ color: rgb(72, 48, 170);
/* oklch */ color: oklch(41.9% 0.183 284.2);
Tailwind
colors: {
  custom: {
    50: '#866bc4',
    500: '#4830aa',
    950: '#000000',
  },
}
SCSS
$custom: #4830aa;
$custom-light: #866bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#4830aa",
  "rgb": {
    "r": 72,
    "g": 48,
    "b": 170
  },
  "hsl": {
    "h": 251.803,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.41889,
    "c": 0.18317,
    "h": 284.2
  },
  "luminance": 0.06394
}

Semantic roles & 50–950 ramp

primary
#4830AA
secondary
#B3C274
accent
#DF49C2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4830AA

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

Preview Lab → · Contrast checker → · Palette generator →

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