#4628A2#4628A2

#4628A2 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.9% C 0.182 H 286.0°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#4628A2
RGBrgb(70, 40, 162)
HSLhsl(255, 60%, 40%)
HSVhsv(255, 75%, 64%)
CMYKcmyk(56.8%, 75.3%, 0%, 36.5%)
CIE-LABlab(27.92, 45.18, -60.90)
CIE-LCHlch(27.92, 75.83, 306.57°)
OKLaboklab(39.87% 0.0503 -0.1753)
OKLCHoklch(39.87% 0.182 286)
XYZxyz(9.8042, 5.4278, 34.7065)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4628A2 #84A228
analogous
#2847A2 #4628A2 #8328A2
triadic
#4628A2 #A24628 #28A246
tetradic
#4628A2 #A22847 #84A228 #28A283
square
#4628A2 #A22847 #84A228 #28A283
split-complementary
#4628A2 #A28328 #47A228
monochromatic
#1C1040 #311C71 #4628A2 #5E39CE #866ADA

Accessibility & contrast

On white

10.07
#4628A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4628A2
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4628A2#FFFFFF#000000##FFFFFF
##4628A21.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A6
Deuteranopia (green-blind)
#003EA0
Tritanopia (blue-blind)
#1B4A63
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4628a2;
/* rgb */ color: rgb(70, 40, 162);
/* oklch */ color: oklch(39.9% 0.182 286.0);
Tailwind
colors: {
  custom: {
    50: '#8465bf',
    500: '#4628a2',
    950: '#000000',
  },
}
SCSS
$custom: #4628a2;
$custom-light: #8465bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4628a2",
  "rgb": {
    "r": 70,
    "g": 40,
    "b": 162
  },
  "hsl": {
    "h": 254.754,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.3987,
    "c": 0.18236,
    "h": 286
  },
  "luminance": 0.05428
}

Semantic roles & 50–950 ramp

primary
#4628A2
secondary
#AAC165
accent
#E444BC
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4628A2

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

Preview Lab → · Contrast checker → · Palette generator →

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