#4129AB#4129AB

#4129AB is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.4% C 0.193 H 281.9°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#4129AB
RGBrgb(65, 41, 171)
HSLhsl(251, 61%, 42%)
HSVhsv(251, 76%, 67%)
CMYKcmyk(62%, 76%, 0%, 32.9%)
CIE-LABlab(28.51, 46.69, -65.38)
CIE-LCHlch(28.51, 80.34, 305.53°)
OKLaboklab(40.44% 0.0398 -0.1885)
OKLCHoklch(40.44% 0.193 281.9)
XYZxyz(10.3213, 5.6492, 39.0667)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4129AB #93AB29
analogous
#2952AB #4129AB #8229AB
triadic
#4129AB #AB4129 #29AB41
tetradic
#4129AB #AB2952 #93AB29 #29AB82
square
#4129AB #AB2952 #93AB29 #29AB82
split-complementary
#4129AB #AB8229 #52AB29
monochromatic
#1B1148 #2E1D7A #4129AB #5B40D1 #8571DD

Accessibility & contrast

On white

9.86
#4129AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4129AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4129AB
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4129AB#FFFFFF#000000##FFFFFF
##4129AB1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AF
Deuteranopia (green-blind)
#003FA9
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4129ab;
/* rgb */ color: rgb(65, 41, 171);
/* oklch */ color: oklch(40.4% 0.193 281.9);
Tailwind
colors: {
  custom: {
    50: '#8366c5',
    500: '#4129ab',
    950: '#000000',
  },
}
SCSS
$custom: #4129ab;
$custom-light: #8366c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4129ab",
  "rgb": {
    "r": 65,
    "g": 41,
    "b": 171
  },
  "hsl": {
    "h": 251.077,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40435,
    "c": 0.19271,
    "h": 281.9
  },
  "luminance": 0.0565
}

Semantic roles & 50–950 ramp

primary
#4129AB
secondary
#B4C46C
accent
#E443C7
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4129AB

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

Preview Lab → · Contrast checker → · Palette generator →

#4129AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva