#4627A8#4627A8

#4627A8 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.3% C 0.190 H 285.0°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#4627A8
RGBrgb(70, 39, 168)
HSLhsl(254, 62%, 41%)
HSVhsv(254, 77%, 66%)
CMYKcmyk(58.3%, 76.8%, 0%, 34.1%)
CIE-LABlab(28.33, 47.45, -63.86)
CIE-LCHlch(28.33, 79.55, 306.62°)
OKLaboklab(40.33% 0.0494 -0.1839)
OKLCHoklch(40.33% 0.19 285)
XYZxyz(10.3170, 5.5797, 37.5715)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4627A8 #89A827
analogous
#2748A8 #4627A8 #8727A8
triadic
#4627A8 #A84627 #27A846
tetradic
#4627A8 #A82748 #89A827 #27A887
square
#4627A8 #A82748 #89A827 #27A887
split-complementary
#4627A8 #A88727 #48A827
monochromatic
#1D1045 #311B76 #4627A8 #5F3BD1 #876CDD

Accessibility & contrast

On white

9.92
#4627A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4627A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4627A8
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4627A8#FFFFFF#000000##FFFFFF
##4627A81.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AC
Deuteranopia (green-blind)
#003FA6
Tritanopia (blue-blind)
#104C66
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4627a8;
/* rgb */ color: rgb(70, 39, 168);
/* oklch */ color: oklch(40.3% 0.190 285.0);
Tailwind
colors: {
  custom: {
    50: '#8565c3',
    500: '#4627a8',
    950: '#000000',
  },
}
SCSS
$custom: #4627a8;
$custom-light: #8565c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4627a8",
  "rgb": {
    "r": 70,
    "g": 39,
    "b": 168
  },
  "hsl": {
    "h": 254.419,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40332,
    "c": 0.19046,
    "h": 285
  },
  "luminance": 0.0558
}

Semantic roles & 50–950 ramp

primary
#4627A8
secondary
#ADC367
accent
#E542BE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4627A8

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

Preview Lab → · Contrast checker → · Palette generator →

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