#4826CA#4826CA

#4826CA is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.9% C 0.230 H 280.8°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#4826CA
RGBrgb(72, 38, 202)
HSLhsl(252, 68%, 47%)
HSVhsv(252, 81%, 79%)
CMYKcmyk(64.4%, 81.2%, 0%, 20.8%)
CIE-LABlab(31.87, 57.87, -78.17)
CIE-LCHlch(31.87, 97.26, 306.51°)
OKLaboklab(43.89% 0.0429 -0.2256)
OKLCHoklch(43.89% 0.23 280.8)
XYZxyz(14.0229, 7.0271, 56.4831)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4826CA #A8CA26
analogous
#2656CA #4826CA #9A26CA
triadic
#4826CA #CA4826 #26CA48
tetradic
#4826CA #CA2656 #A8CA26 #26CA9A
square
#4826CA #CA2656 #A8CA26 #26CA9A
split-complementary
#4826CA #CA9A26 #56CA26
monochromatic
#231363 #361C96 #4826CA #6D4FDE #9883E8

Accessibility & contrast

On white

8.73
#4826CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4826CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4826CA
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4826CA#FFFFFF#000000##FFFFFF
##4826CA1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CE
Deuteranopia (green-blind)
#0045C7
Tritanopia (blue-blind)
#00597A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4826ca;
/* rgb */ color: rgb(72, 38, 202);
/* oklch */ color: oklch(43.9% 0.230 280.8);
Tailwind
colors: {
  custom: {
    50: '#8c67dc',
    500: '#4826ca',
    950: '#000000',
  },
}
SCSS
$custom: #4826ca;
$custom-light: #8c67dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4826ca",
  "rgb": {
    "r": 72,
    "g": 38,
    "b": 202
  },
  "hsl": {
    "h": 252.439,
    "s": 68.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.43885,
    "c": 0.22965,
    "h": 280.8
  },
  "luminance": 0.07028
}

Semantic roles & 50–950 ramp

primary
#4826CA
secondary
#BFD17B
accent
#EB3DC7
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4826CA

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

Preview Lab → · Contrast checker → · Palette generator →

#4826CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva