#4626AB#4626AB

#4626AB is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.5% C 0.195 H 284.6°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#4626AB
RGBrgb(70, 38, 171)
HSLhsl(254, 64%, 41%)
HSVhsv(254, 78%, 67%)
CMYKcmyk(59.1%, 77.8%, 0%, 32.9%)
CIE-LABlab(28.45, 48.81, -65.45)
CIE-LCHlch(28.45, 81.65, 306.72°)
OKLaboklab(40.51% 0.0493 -0.1886)
OKLCHoklch(40.51% 0.195 284.6)
XYZxyz(10.5673, 5.6279, 39.0496)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4626AB #8BAB26
analogous
#2648AB #4626AB #8826AB
triadic
#4626AB #AB4626 #26AB46
tetradic
#4626AB #AB2648 #8BAB26 #26AB88
square
#4626AB #AB2648 #8BAB26 #26AB88
split-complementary
#4626AB #AB8826 #48AB26
monochromatic
#1D1047 #321B79 #4626AB #603BD3 #886DDF

Accessibility & contrast

On white

9.88
#4626AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4626AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4626AB
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4626AB#FFFFFF#000000##FFFFFF
##4626AB1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AF
Deuteranopia (green-blind)
#003FA9
Tritanopia (blue-blind)
#094D68
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4626ab;
/* rgb */ color: rgb(70, 38, 171);
/* oklch */ color: oklch(40.5% 0.195 284.6);
Tailwind
colors: {
  custom: {
    50: '#8665c5',
    500: '#4626ab',
    950: '#000000',
  },
}
SCSS
$custom: #4626ab;
$custom-light: #8665c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4626ab",
  "rgb": {
    "r": 70,
    "g": 38,
    "b": 171
  },
  "hsl": {
    "h": 254.436,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40511,
    "c": 0.19493,
    "h": 284.6
  },
  "luminance": 0.05629
}

Semantic roles & 50–950 ramp

primary
#4626AB
secondary
#AFC568
accent
#E741BF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4626AB

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

Preview Lab → · Contrast checker → · Palette generator →

#4626AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva