#4126B9#4126B9

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

Color values

HEX#4126B9
RGBrgb(65, 38, 185)
HSLhsl(251, 66%, 44%)
HSVhsv(251, 79%, 73%)
CMYKcmyk(64.9%, 79.5%, 0%, 27.5%)
CIE-LABlab(29.44, 52.34, -72.20)
CIE-LCHlch(29.44, 89.17, 305.94°)
OKLaboklab(41.52% 0.0378 -0.2084)
OKLCHoklch(41.52% 0.212 280.3)
XYZxyz(11.6273, 6.0119, 46.4372)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4126B9 #9EB926
analogous
#2655B9 #4126B9 #8A26B9
triadic
#4126B9 #B94126 #26B941
tetradic
#4126B9 #B92655 #9EB926 #26B98A
square
#4126B9 #B92655 #9EB926 #26B98A
split-complementary
#4126B9 #B98A26 #55B926
monochromatic
#1D1153 #2F1C86 #4126B9 #5F44D9 #8A76E3

Accessibility & contrast

On white

9.53
#4126B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4126B9
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4126B9#FFFFFF#000000##FFFFFF
##4126B91.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)
#004BBD
Deuteranopia (green-blind)
#0040B6
Tritanopia (blue-blind)
#005370
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4126b9;
/* rgb */ color: rgb(65, 38, 185);
/* oklch */ color: oklch(41.5% 0.212 280.3);
Tailwind
colors: {
  custom: {
    50: '#8665cf',
    500: '#4126b9',
    950: '#000000',
  },
}
SCSS
$custom: #4126b9;
$custom-light: #8665cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4126b9",
  "rgb": {
    "r": 65,
    "g": 38,
    "b": 185
  },
  "hsl": {
    "h": 251.02,
    "s": 65.919,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41518,
    "c": 0.21179,
    "h": 280.3
  },
  "luminance": 0.06013
}

Semantic roles & 50–950 ramp

primary
#4126B9
secondary
#BACA70
accent
#E93FCA
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4126B9

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

Preview Lab → · Contrast checker → · Palette generator →

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