#4628A5#4628A5

#4628A5 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.2% C 0.186 H 285.4°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#4628A5
RGBrgb(70, 40, 165)
HSLhsl(254, 61%, 40%)
HSVhsv(254, 76%, 65%)
CMYKcmyk(57.6%, 75.8%, 0%, 35.3%)
CIE-LABlab(28.21, 46.07, -62.24)
CIE-LCHlch(28.21, 77.43, 306.51°)
OKLaboklab(40.16% 0.0495 -0.1792)
OKLCHoklch(40.16% 0.186 285.4)
XYZxyz(10.0741, 5.5357, 36.1277)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4628A5 #87A528
analogous
#2848A5 #4628A5 #8428A5
triadic
#4628A5 #A54628 #28A546
tetradic
#4628A5 #A52848 #87A528 #28A584
square
#4628A5 #A52848 #87A528 #28A584
split-complementary
#4628A5 #A58428 #48A528
monochromatic
#1C1042 #311C74 #4628A5 #5E3BCF #876CDB

Accessibility & contrast

On white

9.97
#4628A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4628A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4628A5
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4628A5#FFFFFF#000000##FFFFFF
##4628A51.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A9
Deuteranopia (green-blind)
#003FA3
Tritanopia (blue-blind)
#164B65
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4628a5;
/* rgb */ color: rgb(70, 40, 165);
/* oklch */ color: oklch(40.2% 0.186 285.4);
Tailwind
colors: {
  custom: {
    50: '#8566c1',
    500: '#4628a5',
    950: '#000000',
  },
}
SCSS
$custom: #4628a5;
$custom-light: #8566c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4628a5",
  "rgb": {
    "r": 70,
    "g": 40,
    "b": 165
  },
  "hsl": {
    "h": 254.4,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40161,
    "c": 0.18592,
    "h": 285.4
  },
  "luminance": 0.05536
}

Semantic roles & 50–950 ramp

primary
#4628A5
secondary
#ACC267
accent
#E444BE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4628A5

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

Preview Lab → · Contrast checker → · Palette generator →

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