#4628BB#4628BB

#4628BB is a dark, highly saturated violet. Relative luminance 0.064; OKLCH L 42.4% C 0.212 H 281.8°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#4628BB
RGBrgb(70, 40, 187)
HSLhsl(252, 65%, 45%)
HSVhsv(252, 79%, 73%)
CMYKcmyk(62.6%, 78.6%, 0%, 26.7%)
CIE-LABlab(30.42, 52.50, -71.76)
CIE-LCHlch(30.42, 88.91, 306.19°)
OKLaboklab(42.37% 0.0434 -0.207)
OKLCHoklch(42.37% 0.212 281.8)
XYZxyz(12.2514, 6.4066, 47.5951)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4628BB #9DBB28
analogous
#2853BB #4628BB #9028BB
triadic
#4628BB #BB4628 #28BB46
tetradic
#4628BB #BB2853 #9DBB28 #28BB90
square
#4628BB #BB2853 #9DBB28 #28BB90
split-complementary
#4628BB #BB9028 #53BB28
monochromatic
#201256 #331D89 #4628BB #6648D8 #907BE3

Accessibility & contrast

On white

9.20
#4628BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#4628BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4628BB
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4628BB#FFFFFF#000000##FFFFFF
##4628BB1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBF
Deuteranopia (green-blind)
#0042B8
Tritanopia (blue-blind)
#005471
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4628bb;
/* rgb */ color: rgb(70, 40, 187);
/* oklch */ color: oklch(42.4% 0.212 281.8);
Tailwind
colors: {
  custom: {
    50: '#8867d1',
    500: '#4628bb',
    950: '#000000',
  },
}
SCSS
$custom: #4628bb;
$custom-light: #8867d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4628bb",
  "rgb": {
    "r": 70,
    "g": 40,
    "b": 187
  },
  "hsl": {
    "h": 252.245,
    "s": 64.758,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42367,
    "c": 0.21152,
    "h": 281.8
  },
  "luminance": 0.06408
}

Semantic roles & 50–950 ramp

primary
#4628BB
secondary
#B9CB74
accent
#E840C6
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4628BB

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

Preview Lab → · Contrast checker → · Palette generator →

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