#4626AF#4626AF

#4626AF is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.9% C 0.200 H 284.0°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#4626AF
RGBrgb(70, 38, 175)
HSLhsl(254, 64%, 42%)
HSVhsv(254, 78%, 69%)
CMYKcmyk(60%, 78.3%, 0%, 31.4%)
CIE-LABlab(28.86, 49.97, -67.19)
CIE-LCHlch(28.86, 83.73, 306.64°)
OKLaboklab(40.91% 0.0481 -0.1937)
OKLCHoklch(40.91% 0.2 284)
XYZxyz(10.9544, 5.7827, 41.0881)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4626AF #8FAF26
analogous
#264AAF #4626AF #8B26AF
triadic
#4626AF #AF4626 #26AF46
tetradic
#4626AF #AF264A #8FAF26 #26AF8B
square
#4626AF #AF264A #8FAF26 #26AF8B
split-complementary
#4626AF #AF8B26 #4AAF26
monochromatic
#1E104A #321B7D #4626AF #613DD5 #8A70E0

Accessibility & contrast

On white

9.74
#4626AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#4626AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4626AF
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4626AF#FFFFFF#000000##FFFFFF
##4626AF1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B3
Deuteranopia (green-blind)
#0040AD
Tritanopia (blue-blind)
#004E6A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4626af;
/* rgb */ color: rgb(70, 38, 175);
/* oklch */ color: oklch(40.9% 0.200 284.0);
Tailwind
colors: {
  custom: {
    50: '#8665c8',
    500: '#4626af',
    950: '#000000',
  },
}
SCSS
$custom: #4626af;
$custom-light: #8665c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4626af",
  "rgb": {
    "r": 70,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 254.015,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40914,
    "c": 0.19955,
    "h": 284
  },
  "luminance": 0.05783
}

Semantic roles & 50–950 ramp

primary
#4626AF
secondary
#B1C76A
accent
#E740C0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4626AF

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

Preview Lab → · Contrast checker → · Palette generator →

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