#5626AF#5626AF

#5626AF is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.5% C 0.199 H 291.4°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#5626AF
RGBrgb(86, 38, 175)
HSLhsl(261, 64%, 42%)
HSVhsv(261, 78%, 69%)
CMYKcmyk(50.9%, 78.3%, 0%, 31.4%)
CIE-LABlab(30.54, 52.06, -64.35)
CIE-LCHlch(30.54, 82.77, 308.97°)
OKLaboklab(42.49% 0.0726 -0.1849)
OKLCHoklch(42.49% 0.199 291.4)
XYZxyz(12.2665, 6.4593, 41.1496)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5626AF #7FAF26
analogous
#263BAF #5626AF #9B26AF
triadic
#5626AF #AF5626 #26AF56
tetradic
#5626AF #AF263B #7FAF26 #26AF9B
square
#5626AF #AF263B #7FAF26 #26AF9B
split-complementary
#5626AF #AF9B26 #3BAF26
monochromatic
#25104A #3D1B7D #5626AF #723DD5 #9770E0

Accessibility & contrast

On white

9.16
#5626AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#5626AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5626AF
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5626AF#FFFFFF#000000##FFFFFF
##5626AF1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB3
Deuteranopia (green-blind)
#0045AC
Tritanopia (blue-blind)
#374D6A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5626af;
/* rgb */ color: rgb(86, 38, 175);
/* oklch */ color: oklch(42.5% 0.199 291.4);
Tailwind
colors: {
  custom: {
    50: '#8f66c8',
    500: '#5626af',
    950: '#000000',
  },
}
SCSS
$custom: #5626af;
$custom-light: #8f66c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5626af",
  "rgb": {
    "r": 86,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 261.022,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42485,
    "c": 0.1986,
    "h": 291.4
  },
  "luminance": 0.0646
}

Semantic roles & 50–950 ramp

primary
#5626AF
secondary
#A6C76A
accent
#E740AD
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5626AF

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

Preview Lab → · Contrast checker → · Palette generator →

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