#4628A7#4628A7

#4628A7 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.4% C 0.188 H 285.1°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#4628A7
RGBrgb(70, 40, 167)
HSLhsl(254, 61%, 41%)
HSVhsv(254, 76%, 65%)
CMYKcmyk(58.1%, 76%, 0%, 34.5%)
CIE-LABlab(28.40, 46.65, -63.12)
CIE-LCHlch(28.40, 78.49, 306.47°)
OKLaboklab(40.36% 0.049 -0.1818)
OKLCHoklch(40.36% 0.188 285.1)
XYZxyz(10.2575, 5.6091, 37.0939)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4628A7 #89A728
analogous
#2849A7 #4628A7 #8528A7
triadic
#4628A7 #A74628 #28A746
tetradic
#4628A7 #A72849 #89A728 #28A785
square
#4628A7 #A72849 #89A728 #28A785
split-complementary
#4628A7 #A78528 #49A728
monochromatic
#1D1044 #311C76 #4628A7 #5F3CD0 #876DDC

Accessibility & contrast

On white

9.90
#4628A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4628A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4628A7
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4628A7#FFFFFF#000000##FFFFFF
##4628A71.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AB
Deuteranopia (green-blind)
#003FA5
Tritanopia (blue-blind)
#124C66
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4628a7;
/* rgb */ color: rgb(70, 40, 167);
/* oklch */ color: oklch(40.4% 0.188 285.1);
Tailwind
colors: {
  custom: {
    50: '#8566c2',
    500: '#4628a7',
    950: '#000000',
  },
}
SCSS
$custom: #4628a7;
$custom-light: #8566c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4628a7",
  "rgb": {
    "r": 70,
    "g": 40,
    "b": 167
  },
  "hsl": {
    "h": 254.173,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40356,
    "c": 0.18829,
    "h": 285.1
  },
  "luminance": 0.0561
}

Semantic roles & 50–950 ramp

primary
#4628A7
secondary
#ADC368
accent
#E443BE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4628A7

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

Preview Lab → · Contrast checker → · Palette generator →

#4628A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva