#4628B9#4628B9

#4628B9 is a dark, highly saturated violet. Relative luminance 0.063; OKLCH L 42.2% C 0.209 H 282.1°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#4628B9
RGBrgb(70, 40, 185)
HSLhsl(252, 64%, 44%)
HSVhsv(252, 78%, 73%)
CMYKcmyk(62.2%, 78.4%, 0%, 27.5%)
CIE-LABlab(30.21, 51.92, -70.91)
CIE-LCHlch(30.21, 87.89, 306.21°)
OKLaboklab(42.16% 0.044 -0.2046)
OKLCHoklch(42.16% 0.209 282.1)
XYZxyz(12.0388, 6.3216, 46.4753)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4628B9 #9BB928
analogous
#2853B9 #4628B9 #8F28B9
triadic
#4628B9 #B94628 #28B946
tetradic
#4628B9 #B92853 #9BB928 #28B98F
square
#4628B9 #B92853 #9BB928 #28B98F
split-complementary
#4628B9 #B98F28 #53B928
monochromatic
#201254 #331D87 #4628B9 #6547D7 #8F79E2

Accessibility & contrast

On white

9.27
#4628B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#4628B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4628B9
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4628B9#FFFFFF#000000##FFFFFF
##4628B91.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBD
Deuteranopia (green-blind)
#0042B6
Tritanopia (blue-blind)
#005370
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4628b9;
/* rgb */ color: rgb(70, 40, 185);
/* oklch */ color: oklch(42.2% 0.209 282.1);
Tailwind
colors: {
  custom: {
    50: '#8867cf',
    500: '#4628b9',
    950: '#000000',
  },
}
SCSS
$custom: #4628b9;
$custom-light: #8867cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4628b9",
  "rgb": {
    "r": 70,
    "g": 40,
    "b": 185
  },
  "hsl": {
    "h": 252.414,
    "s": 64.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42162,
    "c": 0.20924,
    "h": 282.1
  },
  "luminance": 0.06322
}

Semantic roles & 50–950 ramp

primary
#4628B9
secondary
#B8CA73
accent
#E740C5
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4628B9

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

Preview Lab → · Contrast checker → · Palette generator →

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