#4628A9#4628A9

#4628A9 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.6% C 0.191 H 284.7°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#4628A9
RGBrgb(70, 40, 169)
HSLhsl(254, 62%, 41%)
HSVhsv(254, 76%, 66%)
CMYKcmyk(58.6%, 76.3%, 0%, 33.7%)
CIE-LABlab(28.60, 47.24, -64.01)
CIE-LCHlch(28.60, 79.56, 306.43°)
OKLaboklab(40.55% 0.0484 -0.1844)
OKLCHoklch(40.55% 0.191 284.7)
XYZxyz(10.4438, 5.6836, 38.0751)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4628A9 #8BA928
analogous
#284BA9 #4628A9 #8628A9
triadic
#4628A9 #A94628 #28A946
tetradic
#4628A9 #A9284B #8BA928 #28A986
square
#4628A9 #A9284B #8BA928 #28A986
split-complementary
#4628A9 #A98628 #4BA928
monochromatic
#1D1146 #321C78 #4628A9 #603DD1 #886FDD

Accessibility & contrast

On white

9.83
#4628A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4628A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4628A9
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4628A9#FFFFFF#000000##FFFFFF
##4628A91.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#003FA7
Tritanopia (blue-blind)
#0E4D67
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4628a9;
/* rgb */ color: rgb(70, 40, 169);
/* oklch */ color: oklch(40.6% 0.191 284.7);
Tailwind
colors: {
  custom: {
    50: '#8566c4',
    500: '#4628a9',
    950: '#000000',
  },
}
SCSS
$custom: #4628a9;
$custom-light: #8566c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4628a9",
  "rgb": {
    "r": 70,
    "g": 40,
    "b": 169
  },
  "hsl": {
    "h": 253.953,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40553,
    "c": 0.19065,
    "h": 284.7
  },
  "luminance": 0.05684
}

Semantic roles & 50–950 ramp

primary
#4628A9
secondary
#AFC469
accent
#E543BF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4628A9

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

Preview Lab → · Contrast checker → · Palette generator →

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