#4126B5#4126B5

#4126B5 is a dark, highly saturated violet. Relative luminance 0.058; OKLCH L 41.1% C 0.207 H 280.8°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#4126B5
RGBrgb(65, 38, 181)
HSLhsl(251, 65%, 43%)
HSVhsv(251, 79%, 71%)
CMYKcmyk(64.1%, 79%, 0%, 29%)
CIE-LABlab(29.02, 51.16, -70.52)
CIE-LCHlch(29.02, 87.12, 305.96°)
OKLaboklab(41.1% 0.0389 -0.2035)
OKLCHoklch(41.1% 0.207 280.8)
XYZxyz(11.2109, 5.8454, 44.2446)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4126B5 #9AB526
analogous
#2652B5 #4126B5 #8926B5
triadic
#4126B5 #B54126 #26B541
tetradic
#4126B5 #B52652 #9AB526 #26B589
square
#4126B5 #B52652 #9AB526 #26B589
split-complementary
#4126B5 #B58926 #52B526
monochromatic
#1D1150 #2F1B82 #4126B5 #5D41D7 #8874E2

Accessibility & contrast

On white

9.68
#4126B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4126B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4126B5
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4126B5#FFFFFF#000000##FFFFFF
##4126B51.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4126b5;
/* rgb */ color: rgb(65, 38, 181);
/* oklch */ color: oklch(41.1% 0.207 280.8);
Tailwind
colors: {
  custom: {
    50: '#8565cc',
    500: '#4126b5',
    950: '#000000',
  },
}
SCSS
$custom: #4126b5;
$custom-light: #8565cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4126b5",
  "rgb": {
    "r": 65,
    "g": 38,
    "b": 181
  },
  "hsl": {
    "h": 251.329,
    "s": 65.297,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41099,
    "c": 0.20721,
    "h": 280.8
  },
  "luminance": 0.05846
}

Semantic roles & 50–950 ramp

primary
#4126B5
secondary
#B8C96E
accent
#E840C8
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #4126B5

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

Preview Lab → · Contrast checker → · Palette generator →

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