#4628BD#4628BD

#4628BD is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.6% C 0.214 H 281.6°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#4628BD
RGBrgb(70, 40, 189)
HSLhsl(252, 65%, 45%)
HSVhsv(252, 79%, 74%)
CMYKcmyk(63%, 78.8%, 0%, 25.9%)
CIE-LABlab(30.62, 53.08, -72.60)
CIE-LCHlch(30.62, 89.93, 306.17°)
OKLaboklab(42.57% 0.0428 -0.2095)
OKLCHoklch(42.57% 0.214 281.6)
XYZxyz(12.4670, 6.4929, 48.7305)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4628BD #9FBD28
analogous
#2854BD #4628BD #9128BD
triadic
#4628BD #BD4628 #28BD46
tetradic
#4628BD #BD2854 #9FBD28 #28BD91
square
#4628BD #BD2854 #9FBD28 #28BD91
split-complementary
#4628BD #BD9128 #54BD28
monochromatic
#211358 #331D8A #4628BD #664AD9 #917CE3

Accessibility & contrast

On white

9.14
#4628BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4628BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4628BD
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4628BD#FFFFFF#000000##FFFFFF
##4628BD1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC1
Deuteranopia (green-blind)
#0043BA
Tritanopia (blue-blind)
#005572
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4628bd;
/* rgb */ color: rgb(70, 40, 189);
/* oklch */ color: oklch(42.6% 0.214 281.6);
Tailwind
colors: {
  custom: {
    50: '#8967d2',
    500: '#4628bd',
    950: '#000000',
  },
}
SCSS
$custom: #4628bd;
$custom-light: #8967d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4628bd",
  "rgb": {
    "r": 70,
    "g": 40,
    "b": 189
  },
  "hsl": {
    "h": 252.081,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42573,
    "c": 0.21381,
    "h": 281.6
  },
  "luminance": 0.06494
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4628BD

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

Preview Lab → · Contrast checker → · Palette generator →

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