#4627A5#4627A5

#4627A5 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.0% C 0.187 H 285.6°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#4627A5
RGBrgb(70, 39, 165)
HSLhsl(255, 62%, 40%)
HSVhsv(255, 76%, 65%)
CMYKcmyk(57.6%, 76.4%, 0%, 35.3%)
CIE-LABlab(28.03, 46.57, -62.53)
CIE-LCHlch(28.03, 77.97, 306.68°)
OKLaboklab(40.04% 0.0502 -0.1801)
OKLCHoklch(40.04% 0.187 285.6)
XYZxyz(10.0408, 5.4692, 36.1166)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4627A5 #86A527
analogous
#2747A5 #4627A5 #8527A5
triadic
#4627A5 #A54627 #27A546
tetradic
#4627A5 #A52747 #86A527 #27A585
square
#4627A5 #A52747 #86A527 #27A585
split-complementary
#4627A5 #A58527 #47A527
monochromatic
#1C1042 #311B74 #4627A5 #5E39D0 #866ADC

Accessibility & contrast

On white

10.03
#4627A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4627A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4627A5
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4627A5#FFFFFF#000000##FFFFFF
##4627A51.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A9
Deuteranopia (green-blind)
#003EA3
Tritanopia (blue-blind)
#164B64
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4627a5;
/* rgb */ color: rgb(70, 39, 165);
/* oklch */ color: oklch(40.0% 0.187 285.6);
Tailwind
colors: {
  custom: {
    50: '#8565c1',
    500: '#4627a5',
    950: '#000000',
  },
}
SCSS
$custom: #4627a5;
$custom-light: #8565c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4627a5",
  "rgb": {
    "r": 70,
    "g": 39,
    "b": 165
  },
  "hsl": {
    "h": 254.762,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.40036,
    "c": 0.18693,
    "h": 285.6
  },
  "luminance": 0.0547
}

Semantic roles & 50–950 ramp

primary
#4627A5
secondary
#ABC266
accent
#E543BD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4627A5

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

Preview Lab → · Contrast checker → · Palette generator →

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