#4627AE#4627AE

#4627AE is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.9% C 0.197 H 284.0°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#4627AE
RGBrgb(70, 39, 174)
HSLhsl(254, 63%, 42%)
HSVhsv(254, 78%, 68%)
CMYKcmyk(59.8%, 77.6%, 0%, 31.8%)
CIE-LABlab(28.92, 49.20, -66.48)
CIE-LCHlch(28.92, 82.71, 306.51°)
OKLaboklab(40.93% 0.0478 -0.1916)
OKLCHoklch(40.93% 0.197 284)
XYZxyz(10.8889, 5.8084, 40.5835)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4627AE #8FAE27
analogous
#274CAE #4627AE #8A27AE
triadic
#4627AE #AE4627 #27AE46
tetradic
#4627AE #AE274C #8FAE27 #27AE8A
square
#4627AE #AE274C #8FAE27 #27AE8A
split-complementary
#4627AE #AE8A27 #4CAE27
monochromatic
#1E114A #321C7C #4627AE #613ED4 #8A70DF

Accessibility & contrast

On white

9.71
#4627AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#4627AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4627AE
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4627AE#FFFFFF#000000##FFFFFF
##4627AE1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B2
Deuteranopia (green-blind)
#0040AC
Tritanopia (blue-blind)
#004E6A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4627ae;
/* rgb */ color: rgb(70, 39, 174);
/* oklch */ color: oklch(40.9% 0.197 284.0);
Tailwind
colors: {
  custom: {
    50: '#8665c7',
    500: '#4627ae',
    950: '#000000',
  },
}
SCSS
$custom: #4627ae;
$custom-light: #8665c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4627ae",
  "rgb": {
    "r": 70,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 253.778,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4093,
    "c": 0.19746,
    "h": 284
  },
  "luminance": 0.05809
}

Semantic roles & 50–950 ramp

primary
#4627AE
secondary
#B1C66B
accent
#E641C1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4627AE

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

Preview Lab → · Contrast checker → · Palette generator →

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