#4628BA#4628BA

#4628BA is a dark, highly saturated violet. Relative luminance 0.064; OKLCH L 42.3% C 0.210 H 282.0°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#4628BA
RGBrgb(70, 40, 186)
HSLhsl(252, 65%, 44%)
HSVhsv(252, 78%, 73%)
CMYKcmyk(62.4%, 78.5%, 0%, 27.1%)
CIE-LABlab(30.31, 52.21, -71.34)
CIE-LCHlch(30.31, 88.40, 306.20°)
OKLaboklab(42.26% 0.0437 -0.2058)
OKLCHoklch(42.26% 0.21 282)
XYZxyz(12.1447, 6.3640, 47.0332)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4628BA #9CBA28
analogous
#2853BA #4628BA #8F28BA
triadic
#4628BA #BA4628 #28BA46
tetradic
#4628BA #BA2853 #9CBA28 #28BA8F
square
#4628BA #BA2853 #9CBA28 #28BA8F
split-complementary
#4628BA #BA8F28 #53BA28
monochromatic
#201255 #331D88 #4628BA #6548D8 #8F7AE2

Accessibility & contrast

On white

9.24
#4628BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#4628BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4628BA
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4628BA#FFFFFF#000000##FFFFFF
##4628BA1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBE
Deuteranopia (green-blind)
#0042B7
Tritanopia (blue-blind)
#005371
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4628ba;
/* rgb */ color: rgb(70, 40, 186);
/* oklch */ color: oklch(42.3% 0.210 282.0);
Tailwind
colors: {
  custom: {
    50: '#8867d0',
    500: '#4628ba',
    950: '#000000',
  },
}
SCSS
$custom: #4628ba;
$custom-light: #8867d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4628ba",
  "rgb": {
    "r": 70,
    "g": 40,
    "b": 186
  },
  "hsl": {
    "h": 252.329,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42264,
    "c": 0.21038,
    "h": 282
  },
  "luminance": 0.06365
}

Semantic roles & 50–950 ramp

primary
#4628BA
secondary
#B8CA73
accent
#E840C5
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4628BA

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

Preview Lab → · Contrast checker → · Palette generator →

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