#4126A5#4126A5

#4126A5 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.5% C 0.189 H 283.3°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#4126A5
RGBrgb(65, 38, 165)
HSLhsl(253, 63%, 40%)
HSVhsv(253, 77%, 65%)
CMYKcmyk(60.6%, 77%, 0%, 35.3%)
CIE-LABlab(27.37, 46.42, -63.64)
CIE-LCHlch(27.37, 78.77, 306.11°)
OKLaboklab(39.45% 0.0434 -0.1834)
OKLCHoklch(39.45% 0.189 283.3)
XYZxyz(9.6625, 5.2260, 36.0896)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4126A5 #8AA526
analogous
#264AA5 #4126A5 #8126A5
triadic
#4126A5 #A54126 #26A541
tetradic
#4126A5 #A5264A #8AA526 #26A581
square
#4126A5 #A5264A #8AA526 #26A581
split-complementary
#4126A5 #A58126 #4AA526
monochromatic
#1A0F42 #2D1B73 #4126A5 #5837D1 #8269DC

Accessibility & contrast

On white

10.27
#4126A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4126A5
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4126A5#FFFFFF#000000##FFFFFF
##4126A51.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A9
Deuteranopia (green-blind)
#003CA3
Tritanopia (blue-blind)
#004B64
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4126a5;
/* rgb */ color: rgb(65, 38, 165);
/* oklch */ color: oklch(39.5% 0.189 283.3);
Tailwind
colors: {
  custom: {
    50: '#8264c1',
    500: '#4126a5',
    950: '#000000',
  },
}
SCSS
$custom: #4126a5;
$custom-light: #8264c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4126a5",
  "rgb": {
    "r": 65,
    "g": 38,
    "b": 165
  },
  "hsl": {
    "h": 252.756,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39454,
    "c": 0.18852,
    "h": 283.3
  },
  "luminance": 0.05227
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4126A5

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

Preview Lab → · Contrast checker → · Palette generator →

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