#4627BA#4627BA

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

Color values

HEX#4627BA
RGBrgb(70, 39, 186)
HSLhsl(253, 65%, 44%)
HSVhsv(253, 79%, 73%)
CMYKcmyk(62.4%, 79%, 0%, 27.1%)
CIE-LABlab(30.15, 52.68, -71.60)
CIE-LCHlch(30.15, 88.90, 306.34°)
OKLaboklab(42.15% 0.0443 -0.2066)
OKLCHoklch(42.15% 0.211 282.1)
XYZxyz(12.1115, 6.2974, 47.0221)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4627BA #9BBA27
analogous
#2752BA #4627BA #9027BA
triadic
#4627BA #BA4627 #27BA46
tetradic
#4627BA #BA2752 #9BBA27 #27BA90
square
#4627BA #BA2752 #9BBA27 #27BA90
split-complementary
#4627BA #BA9027 #52BA27
monochromatic
#201255 #331C87 #4627BA #6546D8 #8F79E3

Accessibility & contrast

On white

9.29
#4627BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#4627BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4627BA
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4627BA#FFFFFF#000000##FFFFFF
##4627BA1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4627ba;
/* rgb */ color: rgb(70, 39, 186);
/* oklch */ color: oklch(42.2% 0.211 282.1);
Tailwind
colors: {
  custom: {
    50: '#8866d0',
    500: '#4627ba',
    950: '#000000',
  },
}
SCSS
$custom: #4627ba;
$custom-light: #8866d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4627ba",
  "rgb": {
    "r": 70,
    "g": 39,
    "b": 186
  },
  "hsl": {
    "h": 252.653,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42151,
    "c": 0.21125,
    "h": 282.1
  },
  "luminance": 0.06298
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4627BA

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

Preview Lab → · Contrast checker → · Palette generator →

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