#4026B9#4026B9

#4026B9 is a dark, highly saturated violet. Relative luminance 0.060; OKLCH L 41.4% C 0.212 H 279.9°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#4026B9
RGBrgb(64, 38, 185)
HSLhsl(251, 66%, 44%)
HSVhsv(251, 79%, 73%)
CMYKcmyk(65.4%, 79.5%, 0%, 27.5%)
CIE-LABlab(29.36, 52.24, -72.34)
CIE-LCHlch(29.36, 89.23, 305.83°)
OKLaboklab(41.44% 0.0363 -0.2088)
OKLCHoklch(41.44% 0.212 279.9)
XYZxyz(11.5616, 5.9781, 46.4341)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4026B9 #9FB926
analogous
#2655B9 #4026B9 #8926B9
triadic
#4026B9 #B94026 #26B940
tetradic
#4026B9 #B92655 #9FB926 #26B989
square
#4026B9 #B92655 #9FB926 #26B989
split-complementary
#4026B9 #B98926 #55B926
monochromatic
#1D1153 #2E1C86 #4026B9 #5E44D9 #8A76E3

Accessibility & contrast

On white

9.56
#4026B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4026B9
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4026B9#FFFFFF#000000##FFFFFF
##4026B91.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABD
Deuteranopia (green-blind)
#003FB6
Tritanopia (blue-blind)
#005370
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4026b9;
/* rgb */ color: rgb(64, 38, 185);
/* oklch */ color: oklch(41.4% 0.212 279.9);
Tailwind
colors: {
  custom: {
    50: '#8565cf',
    500: '#4026b9',
    950: '#000000',
  },
}
SCSS
$custom: #4026b9;
$custom-light: #8565cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4026b9",
  "rgb": {
    "r": 64,
    "g": 38,
    "b": 185
  },
  "hsl": {
    "h": 250.612,
    "s": 65.919,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41438,
    "c": 0.21198,
    "h": 279.9
  },
  "luminance": 0.05979
}

Semantic roles & 50–950 ramp

primary
#4026B9
secondary
#BBCA70
accent
#E93FCB
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0614
muted
#7D7A82

Preview Lab

Preview with #4026B9

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

Preview Lab → · Contrast checker → · Palette generator →

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