#4026B4#4026B4

#4026B4 is a dark, highly saturated violet. Relative luminance 0.058; OKLCH L 40.9% C 0.206 H 280.5°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#4026B4
RGBrgb(64, 38, 180)
HSLhsl(251, 65%, 43%)
HSVhsv(251, 79%, 71%)
CMYKcmyk(64.4%, 78.9%, 0%, 29.4%)
CIE-LABlab(28.83, 50.76, -70.24)
CIE-LCHlch(28.83, 86.67, 305.85°)
OKLaboklab(40.91% 0.0377 -0.2028)
OKLCHoklch(40.91% 0.206 280.5)
XYZxyz(11.0431, 5.7706, 43.7031)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4026B4 #9AB426
analogous
#2653B4 #4026B4 #8726B4
triadic
#4026B4 #B44026 #26B440
tetradic
#4026B4 #B42653 #9AB426 #26B487
square
#4026B4 #B42653 #9AB426 #26B487
split-complementary
#4026B4 #B48726 #53B426
monochromatic
#1C114F #2E1B81 #4026B4 #5C40D7 #8773E1

Accessibility & contrast

On white

9.75
#4026B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4026B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4026B4
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4026B4#FFFFFF#000000##FFFFFF
##4026B41.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B8
Deuteranopia (green-blind)
#003FB2
Tritanopia (blue-blind)
#00516D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4026b4;
/* rgb */ color: rgb(64, 38, 180);
/* oklch */ color: oklch(40.9% 0.206 280.5);
Tailwind
colors: {
  custom: {
    50: '#8465cc',
    500: '#4026b4',
    950: '#000000',
  },
}
SCSS
$custom: #4026b4;
$custom-light: #8465cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4026b4",
  "rgb": {
    "r": 64,
    "g": 38,
    "b": 180
  },
  "hsl": {
    "h": 250.986,
    "s": 65.138,
    "l": 42.745
  },
  "oklch": {
    "l": 0.40911,
    "c": 0.20623,
    "h": 280.5
  },
  "luminance": 0.05772
}

Semantic roles & 50–950 ramp

primary
#4026B4
secondary
#B8C96D
accent
#E840C9
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #4026B4

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

Preview Lab → · Contrast checker → · Palette generator →

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