#4627A4#4627A4

#4627A4 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.9% C 0.186 H 285.8°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#4627A4
RGBrgb(70, 39, 164)
HSLhsl(255, 62%, 40%)
HSVhsv(255, 76%, 64%)
CMYKcmyk(57.3%, 76.2%, 0%, 35.7%)
CIE-LABlab(27.93, 46.28, -62.08)
CIE-LCHlch(27.93, 77.43, 306.70°)
OKLaboklab(39.94% 0.0505 -0.1788)
OKLCHoklch(39.94% 0.186 285.8)
XYZxyz(9.9501, 5.4329, 35.6391)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4627A4 #85A427
analogous
#2747A4 #4627A4 #8527A4
triadic
#4627A4 #A44627 #27A446
tetradic
#4627A4 #A42747 #85A427 #27A485
square
#4627A4 #A42747 #85A427 #27A485
split-complementary
#4627A4 #A48527 #47A427
monochromatic
#1C0F41 #311B73 #4627A4 #5E38D0 #866ADC

Accessibility & contrast

On white

10.06
#4627A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4627A4
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4627A4#FFFFFF#000000##FFFFFF
##4627A41.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A8
Deuteranopia (green-blind)
#003EA2
Tritanopia (blue-blind)
#184A64
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4627a4;
/* rgb */ color: rgb(70, 39, 164);
/* oklch */ color: oklch(39.9% 0.186 285.8);
Tailwind
colors: {
  custom: {
    50: '#8465c0',
    500: '#4627a4',
    950: '#000000',
  },
}
SCSS
$custom: #4627a4;
$custom-light: #8465c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4627a4",
  "rgb": {
    "r": 70,
    "g": 39,
    "b": 164
  },
  "hsl": {
    "h": 254.88,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39938,
    "c": 0.18576,
    "h": 285.8
  },
  "luminance": 0.05433
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4627A4

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

Preview Lab → · Contrast checker → · Palette generator →

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