#4126A6#4126A6

#4126A6 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.6% C 0.190 H 283.1°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#4126A6
RGBrgb(65, 38, 166)
HSLhsl(253, 63%, 40%)
HSVhsv(253, 77%, 65%)
CMYKcmyk(60.8%, 77.1%, 0%, 34.9%)
CIE-LABlab(27.47, 46.72, -64.07)
CIE-LCHlch(27.47, 79.30, 306.10°)
OKLaboklab(39.56% 0.0431 -0.1847)
OKLCHoklch(39.56% 0.19 283.1)
XYZxyz(9.7539, 5.2626, 36.5708)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4126A6 #8BA626
analogous
#264BA6 #4126A6 #8126A6
triadic
#4126A6 #A64126 #26A641
tetradic
#4126A6 #A6264B #8BA626 #26A681
square
#4126A6 #A6264B #8BA626 #26A681
split-complementary
#4126A6 #A68126 #4BA626
monochromatic
#1A0F42 #2D1B74 #4126A6 #5838D1 #826ADD

Accessibility & contrast

On white

10.23
#4126A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4126A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4126A6
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4126A6#FFFFFF#000000##FFFFFF
##4126A61.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AA
Deuteranopia (green-blind)
#003CA4
Tritanopia (blue-blind)
#004B65
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4126a6;
/* rgb */ color: rgb(65, 38, 166);
/* oklch */ color: oklch(39.6% 0.190 283.1);
Tailwind
colors: {
  custom: {
    50: '#8264c2',
    500: '#4126a6',
    950: '#000000',
  },
}
SCSS
$custom: #4126a6;
$custom-light: #8264c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4126a6",
  "rgb": {
    "r": 65,
    "g": 38,
    "b": 166
  },
  "hsl": {
    "h": 252.656,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.39555,
    "c": 0.1897,
    "h": 283.1
  },
  "luminance": 0.05263
}

Semantic roles & 50–950 ramp

primary
#4126A6
secondary
#AFC365
accent
#E642C3
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4126A6

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

Preview Lab → · Contrast checker → · Palette generator →

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