#4628A3#4628A3

#4628A3 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.0% C 0.184 H 285.8°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#4628A3
RGBrgb(70, 40, 163)
HSLhsl(255, 61%, 40%)
HSVhsv(255, 75%, 64%)
CMYKcmyk(57.1%, 75.5%, 0%, 36.1%)
CIE-LABlab(28.02, 45.48, -61.34)
CIE-LCHlch(28.02, 76.36, 306.55°)
OKLaboklab(39.97% 0.05 -0.1766)
OKLCHoklch(39.97% 0.184 285.8)
XYZxyz(9.8934, 5.4634, 35.1765)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4628A3 #85A328
analogous
#2848A3 #4628A3 #8328A3
triadic
#4628A3 #A34628 #28A346
tetradic
#4628A3 #A32848 #85A328 #28A383
square
#4628A3 #A32848 #85A328 #28A383
split-complementary
#4628A3 #A38328 #48A328
monochromatic
#1C1041 #311C72 #4628A3 #5E3ACF #866BDB

Accessibility & contrast

On white

10.03
#4628A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4628A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4628A3
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4628A3#FFFFFF#000000##FFFFFF
##4628A31.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A7
Deuteranopia (green-blind)
#003EA1
Tritanopia (blue-blind)
#194A64
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4628a3;
/* rgb */ color: rgb(70, 40, 163);
/* oklch */ color: oklch(40.0% 0.184 285.8);
Tailwind
colors: {
  custom: {
    50: '#8465bf',
    500: '#4628a3',
    950: '#000000',
  },
}
SCSS
$custom: #4628a3;
$custom-light: #8465bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4628a3",
  "rgb": {
    "r": 70,
    "g": 40,
    "b": 163
  },
  "hsl": {
    "h": 254.634,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39966,
    "c": 0.18354,
    "h": 285.8
  },
  "luminance": 0.05464
}

Semantic roles & 50–950 ramp

primary
#4628A3
secondary
#ABC166
accent
#E444BD
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4628A3

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

Preview Lab → · Contrast checker → · Palette generator →

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