#4835A2#4835A2

#4835A2 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 41.9% C 0.167 H 284.5°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#4835A2
RGBrgb(72, 53, 162)
HSLhsl(250, 51%, 42%)
HSVhsv(250, 67%, 64%)
CMYKcmyk(55.6%, 67.3%, 0%, 36.5%)
CIE-LABlab(30.72, 38.28, -56.31)
CIE-LCHlch(30.72, 68.09, 304.21°)
OKLaboklab(41.91% 0.042 -0.1618)
OKLCHoklch(41.91% 0.167 284.5)
XYZxyz(10.4652, 6.5320, 34.8848)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4835A2 #8FA235
analogous
#3558A2 #4835A2 #7F35A2
triadic
#4835A2 #A24835 #35A248
tetradic
#4835A2 #A23558 #8FA235 #35A27F
square
#4835A2 #A23558 #8FA235 #35A27F
split-complementary
#4835A2 #A27F35 #58A235
monochromatic
#1F1746 #342674 #4835A2 #634FC5 #8C7DD4

Accessibility & contrast

On white

9.10
#4835A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4835A2
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4835A2#FFFFFF#000000##FFFFFF
##4835A21.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA5
Deuteranopia (green-blind)
#0045A0
Tritanopia (blue-blind)
#1F5167
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4835a2;
/* rgb */ color: rgb(72, 53, 162);
/* oklch */ color: oklch(41.9% 0.167 284.5);
Tailwind
colors: {
  custom: {
    50: '#846ebe',
    500: '#4835a2',
    950: '#000000',
  },
}
SCSS
$custom: #4835a2;
$custom-light: #846ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#4835a2",
  "rgb": {
    "r": 72,
    "g": 53,
    "b": 162
  },
  "hsl": {
    "h": 250.459,
    "s": 50.698,
    "l": 42.157
  },
  "oklch": {
    "l": 0.4191,
    "c": 0.16718,
    "h": 284.5
  },
  "luminance": 0.06533
}

Semantic roles & 50–950 ramp

primary
#4835A2
secondary
#B1BD75
accent
#DA4EC2
background
#F8F6FB
surface
#F0ECF7
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4835A2

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

Preview Lab → · Contrast checker → · Palette generator →

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