#4126AC#4126AC

#4126AC is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.2% C 0.197 H 282.2°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#4126AC
RGBrgb(65, 38, 172)
HSLhsl(252, 64%, 41%)
HSVhsv(252, 78%, 67%)
CMYKcmyk(62.2%, 77.9%, 0%, 32.5%)
CIE-LABlab(28.08, 48.50, -66.68)
CIE-LCHlch(28.08, 82.46, 306.03°)
OKLaboklab(40.17% 0.0415 -0.1923)
OKLCHoklch(40.17% 0.197 282.2)
XYZxyz(10.3172, 5.4879, 39.5373)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4126AC #91AC26
analogous
#264EAC #4126AC #8426AC
triadic
#4126AC #AC4126 #26AC41
tetradic
#4126AC #AC264E #91AC26 #26AC84
square
#4126AC #AC264E #91AC26 #26AC84
split-complementary
#4126AC #AC8426 #4EAC26
monochromatic
#1B1048 #2E1B7A #4126AC #5A3BD4 #846EDF

Accessibility & contrast

On white

10.01
#4126AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4126AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4126AC
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4126AC#FFFFFF#000000##FFFFFF
##4126AC1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B0
Deuteranopia (green-blind)
#003DAA
Tritanopia (blue-blind)
#004D68
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4126ac;
/* rgb */ color: rgb(65, 38, 172);
/* oklch */ color: oklch(40.2% 0.197 282.2);
Tailwind
colors: {
  custom: {
    50: '#8364c6',
    500: '#4126ac',
    950: '#000000',
  },
}
SCSS
$custom: #4126ac;
$custom-light: #8364c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4126ac",
  "rgb": {
    "r": 65,
    "g": 38,
    "b": 172
  },
  "hsl": {
    "h": 252.09,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40166,
    "c": 0.19676,
    "h": 282.2
  },
  "luminance": 0.05489
}

Semantic roles & 50–950 ramp

primary
#4126AC
secondary
#B3C568
accent
#E741C5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4126AC

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

Preview Lab → · Contrast checker → · Palette generator →

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