#4628A4#4628A4

#4628A4 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.1% C 0.185 H 285.6°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#4628A4
RGBrgb(70, 40, 164)
HSLhsl(255, 61%, 40%)
HSVhsv(255, 76%, 64%)
CMYKcmyk(57.3%, 75.6%, 0%, 35.7%)
CIE-LABlab(28.11, 45.77, -61.79)
CIE-LCHlch(28.11, 76.90, 306.53°)
OKLaboklab(40.06% 0.0498 -0.1779)
OKLCHoklch(40.06% 0.185 285.6)
XYZxyz(9.9834, 5.4994, 35.6502)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4628A4 #86A428
analogous
#2848A4 #4628A4 #8428A4
triadic
#4628A4 #A44628 #28A446
tetradic
#4628A4 #A42848 #86A428 #28A484
square
#4628A4 #A42848 #86A428 #28A484
split-complementary
#4628A4 #A48428 #48A428
monochromatic
#1C1042 #311C73 #4628A4 #5E3ACF #866BDB

Accessibility & contrast

On white

10.00
#4628A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4628A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4628A4
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4628A4#FFFFFF#000000##FFFFFF
##4628A41.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A8
Deuteranopia (green-blind)
#003FA2
Tritanopia (blue-blind)
#184B64
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4628a4;
/* rgb */ color: rgb(70, 40, 164);
/* oklch */ color: oklch(40.1% 0.185 285.6);
Tailwind
colors: {
  custom: {
    50: '#8466c0',
    500: '#4628a4',
    950: '#000000',
  },
}
SCSS
$custom: #4628a4;
$custom-light: #8466c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4628a4",
  "rgb": {
    "r": 70,
    "g": 40,
    "b": 164
  },
  "hsl": {
    "h": 254.516,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.40064,
    "c": 0.18474,
    "h": 285.6
  },
  "luminance": 0.055
}

Semantic roles & 50–950 ramp

primary
#4628A4
secondary
#ABC166
accent
#E444BD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4628A4

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

Preview Lab → · Contrast checker → · Palette generator →

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