#4126A4#4126A4

#4126A4 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.4% C 0.187 H 283.5°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#4126A4
RGBrgb(65, 38, 164)
HSLhsl(253, 62%, 40%)
HSVhsv(253, 77%, 64%)
CMYKcmyk(60.4%, 76.8%, 0%, 35.7%)
CIE-LABlab(27.27, 46.12, -63.20)
CIE-LCHlch(27.27, 78.24, 306.12°)
OKLaboklab(39.35% 0.0437 -0.1822)
OKLCHoklch(39.35% 0.187 283.5)
XYZxyz(9.5719, 5.1897, 35.6121)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4126A4 #89A426
analogous
#264AA4 #4126A4 #8026A4
triadic
#4126A4 #A44126 #26A441
tetradic
#4126A4 #A4264A #89A426 #26A480
square
#4126A4 #A4264A #89A426 #26A480
split-complementary
#4126A4 #A48026 #4AA426
monochromatic
#1A0F41 #2D1A72 #4126A4 #5837D1 #8168DC

Accessibility & contrast

On white

10.30
#4126A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4126A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4126A4
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4126A4#FFFFFF#000000##FFFFFF
##4126A41.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A8
Deuteranopia (green-blind)
#003CA2
Tritanopia (blue-blind)
#004A64
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4126a4;
/* rgb */ color: rgb(65, 38, 164);
/* oklch */ color: oklch(39.4% 0.187 283.5);
Tailwind
colors: {
  custom: {
    50: '#8264c0',
    500: '#4126a4',
    950: '#000000',
  },
}
SCSS
$custom: #4126a4;
$custom-light: #8264c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4126a4",
  "rgb": {
    "r": 65,
    "g": 38,
    "b": 164
  },
  "hsl": {
    "h": 252.857,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39353,
    "c": 0.18732,
    "h": 283.5
  },
  "luminance": 0.0519
}

Semantic roles & 50–950 ramp

primary
#4126A4
secondary
#AEC264
accent
#E542C2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4126A4

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

Preview Lab → · Contrast checker → · Palette generator →

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