#4026B0#4026B0

#4026B0 is a dark, highly saturated violet. Relative luminance 0.056; OKLCH L 40.5% C 0.202 H 281.1°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#4026B0
RGBrgb(64, 38, 176)
HSLhsl(251, 64%, 42%)
HSVhsv(251, 78%, 69%)
CMYKcmyk(63.6%, 78.4%, 0%, 31%)
CIE-LABlab(28.41, 49.58, -68.55)
CIE-LCHlch(28.41, 84.60, 305.88°)
OKLaboklab(40.49% 0.0389 -0.1978)
OKLCHoklch(40.49% 0.202 281.1)
XYZxyz(10.6415, 5.6100, 41.5879)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4026B0 #96B026
analogous
#2651B0 #4026B0 #8526B0
triadic
#4026B0 #B04026 #26B040
tetradic
#4026B0 #B02651 #96B026 #26B085
square
#4026B0 #B02651 #96B026 #26B085
split-complementary
#4026B0 #B08526 #51B026
monochromatic
#1B104B #2E1B7E #4026B0 #5A3ED5 #8570E0

Accessibility & contrast

On white

9.90
#4026B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4026B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4026B0
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4026B0#FFFFFF#000000##FFFFFF
##4026B01.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B4
Deuteranopia (green-blind)
#003EAE
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4026b0;
/* rgb */ color: rgb(64, 38, 176);
/* oklch */ color: oklch(40.5% 0.202 281.1);
Tailwind
colors: {
  custom: {
    50: '#8465c9',
    500: '#4026b0',
    950: '#000000',
  },
}
SCSS
$custom: #4026b0;
$custom-light: #8465c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4026b0",
  "rgb": {
    "r": 64,
    "g": 38,
    "b": 176
  },
  "hsl": {
    "h": 251.304,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40494,
    "c": 0.20158,
    "h": 281.1
  },
  "luminance": 0.05611
}

Semantic roles & 50–950 ramp

primary
#4026B0
secondary
#B6C76B
accent
#E740C8
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4026B0

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

Preview Lab → · Contrast checker → · Palette generator →

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