#4126AE#4126AE

#4126AE is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.4% C 0.199 H 281.9°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#4126AE
RGBrgb(65, 38, 174)
HSLhsl(252, 64%, 42%)
HSVhsv(252, 78%, 68%)
CMYKcmyk(62.6%, 78.2%, 0%, 31.8%)
CIE-LABlab(28.29, 49.10, -67.54)
CIE-LCHlch(28.29, 83.50, 306.01°)
OKLaboklab(40.37% 0.0409 -0.1948)
OKLCHoklch(40.37% 0.199 281.9)
XYZxyz(10.5107, 5.5653, 40.5565)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4126AE #93AE26
analogous
#264FAE #4126AE #8526AE
triadic
#4126AE #AE4126 #26AE41
tetradic
#4126AE #AE264F #93AE26 #26AE85
square
#4126AE #AE264F #93AE26 #26AE85
split-complementary
#4126AE #AE8526 #4FAE26
monochromatic
#1B104A #2E1B7C #4126AE #5B3DD5 #856FE0

Accessibility & contrast

On white

9.94
#4126AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4126AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4126AE
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4126AE#FFFFFF#000000##FFFFFF
##4126AE1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B2
Deuteranopia (green-blind)
#003EAC
Tritanopia (blue-blind)
#004E69
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4126ae;
/* rgb */ color: rgb(65, 38, 174);
/* oklch */ color: oklch(40.4% 0.199 281.9);
Tailwind
colors: {
  custom: {
    50: '#8465c7',
    500: '#4126ae',
    950: '#000000',
  },
}
SCSS
$custom: #4126ae;
$custom-light: #8465c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4126ae",
  "rgb": {
    "r": 65,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 251.912,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40372,
    "c": 0.19909,
    "h": 281.9
  },
  "luminance": 0.05566
}

Semantic roles & 50–950 ramp

primary
#4126AE
secondary
#B4C66A
accent
#E741C6
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4126AE

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

Preview Lab → · Contrast checker → · Palette generator →

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