#4830A2#4830A2

#4830A2 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.2% C 0.173 H 285.6°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#4830A2
RGBrgb(72, 48, 162)
HSLhsl(253, 54%, 41%)
HSVhsv(253, 70%, 64%)
CMYKcmyk(55.6%, 70.4%, 0%, 36.5%)
CIE-LABlab(29.66, 41.16, -58.03)
CIE-LCHlch(29.66, 71.15, 305.35°)
OKLaboklab(41.15% 0.0466 -0.1669)
OKLCHoklch(41.15% 0.173 285.6)
XYZxyz(10.2491, 6.0997, 34.8127)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4830A2 #8AA230
analogous
#3051A2 #4830A2 #8130A2
triadic
#4830A2 #A24830 #30A248
tetradic
#4830A2 #A23051 #8AA230 #30A281
square
#4830A2 #A23051 #8AA230 #30A281
split-complementary
#4830A2 #A28130 #51A230
monochromatic
#1E1444 #332273 #4830A2 #6247C8 #8A76D6

Accessibility & contrast

On white

9.46
#4830A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#4830A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4830A2#FFFFFF#000000##FFFFFF
##4830A21.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#0042A0
Tritanopia (blue-blind)
#204E65
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4830a2;
/* rgb */ color: rgb(72, 48, 162);
/* oklch */ color: oklch(41.2% 0.173 285.6);
Tailwind
colors: {
  custom: {
    50: '#846abf',
    500: '#4830a2',
    950: '#000000',
  },
}
SCSS
$custom: #4830a2;
$custom-light: #846abf;
$custom-dark: #000000;
JSON
{
  "hex": "#4830a2",
  "rgb": {
    "r": 72,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 252.632,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41153,
    "c": 0.17325,
    "h": 285.6
  },
  "luminance": 0.061
}

Semantic roles & 50–950 ramp

primary
#4830A2
secondary
#AEBE6F
accent
#DE4ABF
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4830A2

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

Preview Lab → · Contrast checker → · Palette generator →

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