#4823A7#4823A7

#4823A7 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.0% C 0.193 H 286.7°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#4823A7
RGBrgb(72, 35, 167)
HSLhsl(257, 65%, 40%)
HSVhsv(257, 79%, 65%)
CMYKcmyk(56.9%, 79%, 0%, 34.5%)
CIE-LABlab(27.76, 49.34, -64.17)
CIE-LCHlch(27.76, 80.95, 307.55°)
OKLaboklab(39.96% 0.0555 -0.1848)
OKLCHoklch(39.96% 0.193 286.7)
XYZxyz(10.2465, 5.3692, 37.0482)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4823A7 #82A723
analogous
#2340A7 #4823A7 #8A23A7
triadic
#4823A7 #A74823 #23A748
tetradic
#4823A7 #A72340 #82A723 #23A78A
square
#4823A7 #A72340 #82A723 #23A78A
split-complementary
#4823A7 #A78A23 #40A723
monochromatic
#1C0E42 #321874 #4823A7 #6033D4 #8866DF

Accessibility & contrast

On white

10.13
#4823A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4823A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4823A7
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4823A7#FFFFFF#000000##FFFFFF
##4823A71.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AB
Deuteranopia (green-blind)
#003EA5
Tritanopia (blue-blind)
#1B4A65
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4823a7;
/* rgb */ color: rgb(72, 35, 167);
/* oklch */ color: oklch(40.0% 0.193 286.7);
Tailwind
colors: {
  custom: {
    50: '#8663c2',
    500: '#4823a7',
    950: '#000000',
  },
}
SCSS
$custom: #4823a7;
$custom-light: #8663c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4823a7",
  "rgb": {
    "r": 72,
    "g": 35,
    "b": 167
  },
  "hsl": {
    "h": 256.818,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39956,
    "c": 0.19293,
    "h": 286.7
  },
  "luminance": 0.0537
}

Semantic roles & 50–950 ramp

primary
#4823A7
secondary
#A9C461
accent
#E83FB9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4823A7

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

Preview Lab → · Contrast checker → · Palette generator →

#4823A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva