#4627AC#4627AC

#4627AC is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.7% C 0.195 H 284.3°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#4627AC
RGBrgb(70, 39, 172)
HSLhsl(254, 63%, 41%)
HSVhsv(254, 77%, 67%)
CMYKcmyk(59.3%, 77.3%, 0%, 32.5%)
CIE-LABlab(28.72, 48.62, -65.61)
CIE-LCHlch(28.72, 81.66, 306.54°)
OKLaboklab(40.73% 0.0483 -0.1891)
OKLCHoklch(40.73% 0.195 284.3)
XYZxyz(10.6954, 5.7310, 39.5643)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4627AC #8DAC27
analogous
#274BAC #4627AC #8927AC
triadic
#4627AC #AC4627 #27AC46
tetradic
#4627AC #AC274B #8DAC27 #27AC89
square
#4627AC #AC274B #8DAC27 #27AC89
split-complementary
#4627AC #AC8927 #4BAC27
monochromatic
#1D1048 #321C7A #4627AC #603DD3 #896FDE

Accessibility & contrast

On white

9.78
#4627AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4627AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4627AC
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4627AC#FFFFFF#000000##FFFFFF
##4627AC1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B0
Deuteranopia (green-blind)
#003FAA
Tritanopia (blue-blind)
#054D68
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4627ac;
/* rgb */ color: rgb(70, 39, 172);
/* oklch */ color: oklch(40.7% 0.195 284.3);
Tailwind
colors: {
  custom: {
    50: '#8665c6',
    500: '#4627ac',
    950: '#000000',
  },
}
SCSS
$custom: #4627ac;
$custom-light: #8665c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4627ac",
  "rgb": {
    "r": 70,
    "g": 39,
    "b": 172
  },
  "hsl": {
    "h": 253.985,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40729,
    "c": 0.19513,
    "h": 284.3
  },
  "luminance": 0.05732
}

Semantic roles & 50–950 ramp

primary
#4627AC
secondary
#B0C56A
accent
#E642C0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4627AC

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

Preview Lab → · Contrast checker → · Palette generator →

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