#4026BA#4026BA

#4026BA is a dark, highly saturated violet. Relative luminance 0.060; OKLCH L 41.5% C 0.213 H 279.7°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#4026BA
RGBrgb(64, 38, 186)
HSLhsl(251, 66%, 44%)
HSVhsv(251, 80%, 73%)
CMYKcmyk(65.6%, 79.6%, 0%, 27.1%)
CIE-LABlab(29.46, 52.53, -72.76)
CIE-LCHlch(29.46, 89.74, 305.83°)
OKLaboklab(41.54% 0.036 -0.2101)
OKLCHoklch(41.54% 0.213 279.7)
XYZxyz(11.6676, 6.0204, 46.9921)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4026BA #A0BA26
analogous
#2656BA #4026BA #8A26BA
triadic
#4026BA #BA4026 #26BA40
tetradic
#4026BA #BA2656 #A0BA26 #26BA8A
square
#4026BA #BA2656 #A0BA26 #26BA8A
split-complementary
#4026BA #BA8A26 #56BA26
monochromatic
#1D1154 #2F1C87 #4026BA #5E44D9 #8A77E3

Accessibility & contrast

On white

9.53
#4026BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4026BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4026BA
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4026BA#FFFFFF#000000##FFFFFF
##4026BA1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBE
Deuteranopia (green-blind)
#0040B7
Tritanopia (blue-blind)
#005370
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4026ba;
/* rgb */ color: rgb(64, 38, 186);
/* oklch */ color: oklch(41.5% 0.213 279.7);
Tailwind
colors: {
  custom: {
    50: '#8665d0',
    500: '#4026ba',
    950: '#000000',
  },
}
SCSS
$custom: #4026ba;
$custom-light: #8665d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4026ba",
  "rgb": {
    "r": 64,
    "g": 38,
    "b": 186
  },
  "hsl": {
    "h": 250.541,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41544,
    "c": 0.21312,
    "h": 279.7
  },
  "luminance": 0.06021
}

Semantic roles & 50–950 ramp

primary
#4026BA
secondary
#BBCB71
accent
#E93FCB
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4026BA

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

Preview Lab → · Contrast checker → · Palette generator →

#4026BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva