#4126B4#4126B4

#4126B4 is a dark, highly saturated violet. Relative luminance 0.058; OKLCH L 41.0% C 0.206 H 281.0°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#4126B4
RGBrgb(65, 38, 180)
HSLhsl(251, 65%, 43%)
HSVhsv(251, 79%, 71%)
CMYKcmyk(63.9%, 78.9%, 0%, 29.4%)
CIE-LABlab(28.91, 50.87, -70.10)
CIE-LCHlch(28.91, 86.61, 305.97°)
OKLaboklab(40.99% 0.0392 -0.2023)
OKLCHoklch(40.99% 0.206 281)
XYZxyz(11.1087, 5.8045, 43.7061)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4126B4 #99B426
analogous
#2652B4 #4126B4 #8826B4
triadic
#4126B4 #B44126 #26B441
tetradic
#4126B4 #B42652 #99B426 #26B488
square
#4126B4 #B42652 #99B426 #26B488
split-complementary
#4126B4 #B48826 #52B426
monochromatic
#1D114F #2F1B81 #4126B4 #5D40D7 #8873E1

Accessibility & contrast

On white

9.72
#4126B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#4126B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4126B4
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4126B4#FFFFFF#000000##FFFFFF
##4126B41.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4126b4;
/* rgb */ color: rgb(65, 38, 180);
/* oklch */ color: oklch(41.0% 0.206 281.0);
Tailwind
colors: {
  custom: {
    50: '#8565cc',
    500: '#4126b4',
    950: '#000000',
  },
}
SCSS
$custom: #4126b4;
$custom-light: #8565cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4126b4",
  "rgb": {
    "r": 65,
    "g": 38,
    "b": 180
  },
  "hsl": {
    "h": 251.408,
    "s": 65.138,
    "l": 42.745
  },
  "oklch": {
    "l": 0.40994,
    "c": 0.20606,
    "h": 281
  },
  "luminance": 0.05805
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4126B4

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

Preview Lab → · Contrast checker → · Palette generator →

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