#4628A6#4628A6

#4628A6 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.3% C 0.187 H 285.3°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#4628A6
RGBrgb(70, 40, 166)
HSLhsl(254, 61%, 40%)
HSVhsv(254, 76%, 65%)
CMYKcmyk(57.8%, 75.9%, 0%, 34.9%)
CIE-LABlab(28.31, 46.36, -62.68)
CIE-LCHlch(28.31, 77.96, 306.49°)
OKLaboklab(40.26% 0.0492 -0.1805)
OKLCHoklch(40.26% 0.187 285.3)
XYZxyz(10.1654, 5.5722, 36.6089)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4628A6 #88A628
analogous
#2849A6 #4628A6 #8528A6
triadic
#4628A6 #A64628 #28A646
tetradic
#4628A6 #A62849 #88A628 #28A685
square
#4628A6 #A62849 #88A628 #28A685
split-complementary
#4628A6 #A68528 #49A628
monochromatic
#1C1043 #311C75 #4628A6 #5F3BD0 #876DDC

Accessibility & contrast

On white

9.93
#4628A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4628A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4628A6
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4628A6#FFFFFF#000000##FFFFFF
##4628A61.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AA
Deuteranopia (green-blind)
#003FA4
Tritanopia (blue-blind)
#144B65
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4628a6;
/* rgb */ color: rgb(70, 40, 166);
/* oklch */ color: oklch(40.3% 0.187 285.3);
Tailwind
colors: {
  custom: {
    50: '#8566c2',
    500: '#4628a6',
    950: '#000000',
  },
}
SCSS
$custom: #4628a6;
$custom-light: #8566c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4628a6",
  "rgb": {
    "r": 70,
    "g": 40,
    "b": 166
  },
  "hsl": {
    "h": 254.286,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40259,
    "c": 0.18712,
    "h": 285.3
  },
  "luminance": 0.05573
}

Semantic roles & 50–950 ramp

primary
#4628A6
secondary
#ADC267
accent
#E444BE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4628A6

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

Preview Lab → · Contrast checker → · Palette generator →

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