#4823B2#4823B2

#4823B2 is a dark, highly saturated violet. Relative luminance 0.058; OKLCH L 41.1% C 0.205 H 284.7°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#4823B2
RGBrgb(72, 35, 178)
HSLhsl(256, 67%, 42%)
HSVhsv(256, 80%, 70%)
CMYKcmyk(59.6%, 80.3%, 0%, 30.2%)
CIE-LABlab(28.89, 52.44, -68.93)
CIE-LCHlch(28.89, 86.61, 307.26°)
OKLaboklab(41.07% 0.0521 -0.1986)
OKLCHoklch(41.07% 0.205 284.7)
XYZxyz(11.3069, 5.7934, 42.6333)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4823B2 #8DB223
analogous
#2346B2 #4823B2 #8F23B2
triadic
#4823B2 #B24823 #23B248
tetradic
#4823B2 #B22346 #8DB223 #23B28F
square
#4823B2 #B22346 #8DB223 #23B28F
split-complementary
#4823B2 #B28F23 #46B223
monochromatic
#1F0F4C #33197F #4823B2 #633AD8 #8B6DE2

Accessibility & contrast

On white

9.73
#4823B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#4823B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4823B2
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4823B2#FFFFFF#000000##FFFFFF
##4823B21.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B6
Deuteranopia (green-blind)
#0040AF
Tritanopia (blue-blind)
#024E6B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4823b2;
/* rgb */ color: rgb(72, 35, 178);
/* oklch */ color: oklch(41.1% 0.205 284.7);
Tailwind
colors: {
  custom: {
    50: '#8864ca',
    500: '#4823b2',
    950: '#000000',
  },
}
SCSS
$custom: #4823b2;
$custom-light: #8864ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4823b2",
  "rgb": {
    "r": 72,
    "g": 35,
    "b": 178
  },
  "hsl": {
    "h": 255.524,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41072,
    "c": 0.20536,
    "h": 284.7
  },
  "luminance": 0.05794
}

Semantic roles & 50–950 ramp

primary
#4823B2
secondary
#B0C968
accent
#EA3EBD
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4823B2

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

Preview Lab → · Contrast checker → · Palette generator →

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