#4126BA#4126BA

#4126BA is a dark, highly saturated violet. Relative luminance 0.061; OKLCH L 41.6% C 0.213 H 280.1°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#4126BA
RGBrgb(65, 38, 186)
HSLhsl(251, 66%, 44%)
HSVhsv(251, 80%, 73%)
CMYKcmyk(65.1%, 79.6%, 0%, 27.1%)
CIE-LABlab(29.55, 52.63, -72.61)
CIE-LCHlch(29.55, 89.68, 305.93°)
OKLaboklab(41.62% 0.0375 -0.2096)
OKLCHoklch(41.62% 0.213 280.1)
XYZxyz(11.7332, 6.0543, 46.9951)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4126BA #9FBA26
analogous
#2655BA #4126BA #8B26BA
triadic
#4126BA #BA4126 #26BA41
tetradic
#4126BA #BA2655 #9FBA26 #26BA8B
square
#4126BA #BA2655 #9FBA26 #26BA8B
split-complementary
#4126BA #BA8B26 #55BA26
monochromatic
#1D1154 #2F1C87 #4126BA #5F44D9 #8B77E3

Accessibility & contrast

On white

9.50
#4126BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4126BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4126BA
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4126BA#FFFFFF#000000##FFFFFF
##4126BA1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4126ba;
/* rgb */ color: rgb(65, 38, 186);
/* oklch */ color: oklch(41.6% 0.213 280.1);
Tailwind
colors: {
  custom: {
    50: '#8665d0',
    500: '#4126ba',
    950: '#000000',
  },
}
SCSS
$custom: #4126ba;
$custom-light: #8665d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4126ba",
  "rgb": {
    "r": 65,
    "g": 38,
    "b": 186
  },
  "hsl": {
    "h": 250.946,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41624,
    "c": 0.21294,
    "h": 280.1
  },
  "luminance": 0.06055
}

Semantic roles & 50–950 ramp

primary
#4126BA
secondary
#BACB71
accent
#E93FCA
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4126BA

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

Preview Lab → · Contrast checker → · Palette generator →

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