#4835A3#4835A3

#4835A3 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.0% C 0.168 H 284.4°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#4835A3
RGBrgb(72, 53, 163)
HSLhsl(250, 51%, 42%)
HSVhsv(250, 67%, 64%)
CMYKcmyk(55.8%, 67.5%, 0%, 36.1%)
CIE-LABlab(30.80, 38.59, -56.77)
CIE-LCHlch(30.80, 68.65, 304.21°)
OKLaboklab(42% 0.0418 -0.1632)
OKLCHoklch(42% 0.168 284.4)
XYZxyz(10.5544, 6.5677, 35.3548)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4835A3 #90A335
analogous
#3559A3 #4835A3 #7F35A3
triadic
#4835A3 #A34835 #35A348
tetradic
#4835A3 #A33559 #90A335 #35A37F
square
#4835A3 #A33559 #90A335 #35A37F
split-complementary
#4835A3 #A37F35 #59A335
monochromatic
#1F1747 #342675 #4835A3 #644FC6 #8D7ED5

Accessibility & contrast

On white

9.08
#4835A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4835A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4835A3
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4835A3#FFFFFF#000000##FFFFFF
##4835A31.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA6
Deuteranopia (green-blind)
#0045A1
Tritanopia (blue-blind)
#1E5167
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4835a3;
/* rgb */ color: rgb(72, 53, 163);
/* oklch */ color: oklch(42.0% 0.168 284.4);
Tailwind
colors: {
  custom: {
    50: '#846ebf',
    500: '#4835a3',
    950: '#000000',
  },
}
SCSS
$custom: #4835a3;
$custom-light: #846ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#4835a3",
  "rgb": {
    "r": 72,
    "g": 53,
    "b": 163
  },
  "hsl": {
    "h": 250.364,
    "s": 50.926,
    "l": 42.353
  },
  "oklch": {
    "l": 0.41998,
    "c": 0.16847,
    "h": 284.4
  },
  "luminance": 0.06568
}

Semantic roles & 50–950 ramp

primary
#4835A3
secondary
#B1BE76
accent
#DA4DC2
background
#F8F6FB
surface
#F0ECF7
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4835A3

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

Preview Lab → · Contrast checker → · Palette generator →

#4835A3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva