#4829B2#4829B2

#4829B2 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.7% C 0.200 H 284.0°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#4829B2
RGBrgb(72, 41, 178)
HSLhsl(254, 63%, 43%)
HSVhsv(254, 77%, 70%)
CMYKcmyk(59.6%, 77%, 0%, 30.2%)
CIE-LABlab(29.86, 49.64, -67.33)
CIE-LCHlch(29.86, 83.65, 306.40°)
OKLaboklab(41.75% 0.0483 -0.194)
OKLCHoklch(41.75% 0.2 284)
XYZxyz(11.4988, 6.1772, 42.6972)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4829B2 #93B229
analogous
#294EB2 #4829B2 #8D29B2
triadic
#4829B2 #B24829 #29B248
tetradic
#4829B2 #B2294E #93B229 #29B28D
square
#4829B2 #B2294E #93B229 #29B28D
split-complementary
#4829B2 #B28D29 #4EB229
monochromatic
#20124F #341E80 #4829B2 #6544D4 #8E76DF

Accessibility & contrast

On white

9.39
#4829B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#4829B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4829B2
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4829B2#FFFFFF#000000##FFFFFF
##4829B21.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB6
Deuteranopia (green-blind)
#0042B0
Tritanopia (blue-blind)
#00516C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4829b2;
/* rgb */ color: rgb(72, 41, 178);
/* oklch */ color: oklch(41.7% 0.200 284.0);
Tailwind
colors: {
  custom: {
    50: '#8867ca',
    500: '#4829b2',
    950: '#000000',
  },
}
SCSS
$custom: #4829b2;
$custom-light: #8867ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4829b2",
  "rgb": {
    "r": 72,
    "g": 41,
    "b": 178
  },
  "hsl": {
    "h": 253.577,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41747,
    "c": 0.19997,
    "h": 284
  },
  "luminance": 0.06178
}

Semantic roles & 50–950 ramp

primary
#4829B2
secondary
#B3C770
accent
#E642C1
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4829B2

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

Preview Lab → · Contrast checker → · Palette generator →

#4829B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva