#4627AB#4627AB

#4627AB is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.6% C 0.194 H 284.5°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#4627AB
RGBrgb(70, 39, 171)
HSLhsl(254, 63%, 41%)
HSVhsv(254, 77%, 67%)
CMYKcmyk(59.1%, 77.2%, 0%, 32.9%)
CIE-LABlab(28.62, 48.33, -65.17)
CIE-LCHlch(28.62, 81.14, 306.56°)
OKLaboklab(40.63% 0.0486 -0.1878)
OKLCHoklch(40.63% 0.194 284.5)
XYZxyz(10.5997, 5.6927, 39.0604)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4627AB #8CAB27
analogous
#274AAB #4627AB #8827AB
triadic
#4627AB #AB4627 #27AB46
tetradic
#4627AB #AB274A #8CAB27 #27AB88
square
#4627AB #AB274A #8CAB27 #27AB88
split-complementary
#4627AB #AB8827 #4AAB27
monochromatic
#1D1047 #321C79 #4627AB #603DD3 #896EDE

Accessibility & contrast

On white

9.82
#4627AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4627AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4627AB
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4627AB#FFFFFF#000000##FFFFFF
##4627AB1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AF
Deuteranopia (green-blind)
#003FA9
Tritanopia (blue-blind)
#084D68
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4627ab;
/* rgb */ color: rgb(70, 39, 171);
/* oklch */ color: oklch(40.6% 0.194 284.5);
Tailwind
colors: {
  custom: {
    50: '#8665c5',
    500: '#4627ab',
    950: '#000000',
  },
}
SCSS
$custom: #4627ab;
$custom-light: #8665c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4627ab",
  "rgb": {
    "r": 70,
    "g": 39,
    "b": 171
  },
  "hsl": {
    "h": 254.091,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40629,
    "c": 0.19397,
    "h": 284.5
  },
  "luminance": 0.05693
}

Semantic roles & 50–950 ramp

primary
#4627AB
secondary
#AFC569
accent
#E642BF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4627AB

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

Preview Lab → · Contrast checker → · Palette generator →

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