#4628AA#4628AA

#4628AA is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.7% C 0.192 H 284.5°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#4628AA
RGBrgb(70, 40, 170)
HSLhsl(254, 62%, 41%)
HSVhsv(254, 76%, 67%)
CMYKcmyk(58.8%, 76.5%, 0%, 33.3%)
CIE-LABlab(28.70, 47.54, -64.45)
CIE-LCHlch(28.70, 80.08, 306.41°)
OKLaboklab(40.65% 0.0482 -0.1857)
OKLCHoklch(40.65% 0.192 284.5)
XYZxyz(10.5381, 5.7213, 38.5714)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4628AA #8CAA28
analogous
#284BAA #4628AA #8728AA
triadic
#4628AA #AA4628 #28AA46
tetradic
#4628AA #AA284B #8CAA28 #28AA87
square
#4628AA #AA284B #8CAA28 #28AA87
split-complementary
#4628AA #AA8728 #4BAA28
monochromatic
#1D1147 #321C78 #4628AA #603ED2 #896FDD

Accessibility & contrast

On white

9.79
#4628AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4628AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4628AA#FFFFFF#000000##FFFFFF
##4628AA1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AE
Deuteranopia (green-blind)
#003FA8
Tritanopia (blue-blind)
#0B4D68
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4628aa;
/* rgb */ color: rgb(70, 40, 170);
/* oklch */ color: oklch(40.7% 0.192 284.5);
Tailwind
colors: {
  custom: {
    50: '#8566c4',
    500: '#4628aa',
    950: '#000000',
  },
}
SCSS
$custom: #4628aa;
$custom-light: #8566c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4628aa",
  "rgb": {
    "r": 70,
    "g": 40,
    "b": 170
  },
  "hsl": {
    "h": 253.846,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40652,
    "c": 0.19183,
    "h": 284.5
  },
  "luminance": 0.05722
}

Semantic roles & 50–950 ramp

primary
#4628AA
secondary
#AFC46A
accent
#E543C0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4628AA

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

Preview Lab → · Contrast checker → · Palette generator →

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