#4826AF#4826AF

#4826AF is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.1% C 0.199 H 284.9°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#4826AF
RGBrgb(72, 38, 175)
HSLhsl(255, 64%, 42%)
HSVhsv(255, 78%, 69%)
CMYKcmyk(58.9%, 78.3%, 0%, 31.4%)
CIE-LABlab(29.05, 50.22, -66.86)
CIE-LCHlch(29.05, 83.62, 306.91°)
OKLaboklab(41.1% 0.0511 -0.1926)
OKLCHoklch(41.1% 0.199 284.9)
XYZxyz(11.1011, 5.8584, 41.0949)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4826AF #8DAF26
analogous
#2648AF #4826AF #8D26AF
triadic
#4826AF #AF4826 #26AF48
tetradic
#4826AF #AF2648 #8DAF26 #26AF8D
square
#4826AF #AF2648 #8DAF26 #26AF8D
split-complementary
#4826AF #AF8D26 #48AF26
monochromatic
#1F104A #331B7D #4826AF #633DD5 #8B70E0

Accessibility & contrast

On white

9.67
#4826AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4826AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4826AF
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4826AF#FFFFFF#000000##FFFFFF
##4826AF1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B3
Deuteranopia (green-blind)
#0040AD
Tritanopia (blue-blind)
#0B4E6A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4826af;
/* rgb */ color: rgb(72, 38, 175);
/* oklch */ color: oklch(41.1% 0.199 284.9);
Tailwind
colors: {
  custom: {
    50: '#8765c8',
    500: '#4826af',
    950: '#000000',
  },
}
SCSS
$custom: #4826af;
$custom-light: #8765c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4826af",
  "rgb": {
    "r": 72,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 254.891,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41097,
    "c": 0.19931,
    "h": 284.9
  },
  "luminance": 0.05859
}

Semantic roles & 50–950 ramp

primary
#4826AF
secondary
#B0C76A
accent
#E740BE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4826AF

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

Preview Lab → · Contrast checker → · Palette generator →

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