#4628AD#4628AD

#4628AD is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.9% C 0.195 H 284.0°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#4628AD
RGBrgb(70, 40, 173)
HSLhsl(254, 62%, 42%)
HSVhsv(254, 77%, 68%)
CMYKcmyk(59.5%, 76.9%, 0%, 32.2%)
CIE-LABlab(29.00, 48.42, -65.76)
CIE-LCHlch(29.00, 81.66, 306.36°)
OKLaboklab(40.95% 0.0474 -0.1895)
OKLCHoklch(40.95% 0.195 284)
XYZxyz(10.8251, 5.8361, 40.0831)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4628AD #8FAD28
analogous
#284DAD #4628AD #8928AD
triadic
#4628AD #AD4628 #28AD46
tetradic
#4628AD #AD284D #8FAD28 #28AD89
square
#4628AD #AD284D #8FAD28 #28AD89
split-complementary
#4628AD #AD8928 #4DAD28
monochromatic
#1E114A #321D7B #4628AD #613FD3 #8A71DE

Accessibility & contrast

On white

9.69
#4628AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4628AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4628AD
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4628AD#FFFFFF#000000##FFFFFF
##4628AD1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B1
Deuteranopia (green-blind)
#0040AB
Tritanopia (blue-blind)
#024E69
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4628ad;
/* rgb */ color: rgb(70, 40, 173);
/* oklch */ color: oklch(40.9% 0.195 284.0);
Tailwind
colors: {
  custom: {
    50: '#8666c7',
    500: '#4628ad',
    950: '#000000',
  },
}
SCSS
$custom: #4628ad;
$custom-light: #8666c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4628ad",
  "rgb": {
    "r": 70,
    "g": 40,
    "b": 173
  },
  "hsl": {
    "h": 253.534,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40949,
    "c": 0.19535,
    "h": 284
  },
  "luminance": 0.05837
}

Semantic roles & 50–950 ramp

primary
#4628AD
secondary
#B1C56C
accent
#E642C1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4628AD

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

Preview Lab → · Contrast checker → · Palette generator →

#4628AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva