#4126B0#4126B0

#4126B0 is a dark, highly saturated violet. Relative luminance 0.056; OKLCH L 40.6% C 0.201 H 281.6°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#4126B0
RGBrgb(65, 38, 176)
HSLhsl(252, 64%, 42%)
HSVhsv(252, 78%, 69%)
CMYKcmyk(63.1%, 78.4%, 0%, 31%)
CIE-LABlab(28.50, 49.69, -68.40)
CIE-LCHlch(28.50, 84.54, 306.00°)
OKLaboklab(40.58% 0.0403 -0.1973)
OKLCHoklch(40.58% 0.201 281.6)
XYZxyz(10.7071, 5.6438, 41.5910)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4126B0 #95B026
analogous
#2650B0 #4126B0 #8626B0
triadic
#4126B0 #B04126 #26B041
tetradic
#4126B0 #B02650 #95B026 #26B086
square
#4126B0 #B02650 #95B026 #26B086
split-complementary
#4126B0 #B08626 #50B026
monochromatic
#1C104B #2E1B7E #4126B0 #5C3ED5 #8670E0

Accessibility & contrast

On white

9.86
#4126B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4126B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4126B0
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4126B0#FFFFFF#000000##FFFFFF
##4126B01.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.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: #4126b0;
/* rgb */ color: rgb(65, 38, 176);
/* oklch */ color: oklch(40.6% 0.201 281.6);
Tailwind
colors: {
  custom: {
    50: '#8465c9',
    500: '#4126b0',
    950: '#000000',
  },
}
SCSS
$custom: #4126b0;
$custom-light: #8465c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4126b0",
  "rgb": {
    "r": 65,
    "g": 38,
    "b": 176
  },
  "hsl": {
    "h": 251.739,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40578,
    "c": 0.20142,
    "h": 281.6
  },
  "luminance": 0.05645
}

Semantic roles & 50–950 ramp

primary
#4126B0
secondary
#B5C76B
accent
#E740C7
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4126B0

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

Preview Lab → · Contrast checker → · Palette generator →

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