#4129AC#4129AC

#4129AC is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.5% C 0.194 H 281.8°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#4129AC
RGBrgb(65, 41, 172)
HSLhsl(251, 62%, 42%)
HSVhsv(251, 76%, 67%)
CMYKcmyk(62.2%, 76.2%, 0%, 32.5%)
CIE-LABlab(28.61, 46.99, -65.81)
CIE-LCHlch(28.61, 80.87, 305.53°)
OKLaboklab(40.54% 0.0396 -0.1898)
OKLCHoklch(40.54% 0.194 281.8)
XYZxyz(10.4170, 5.6875, 39.5706)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4129AC #94AC29
analogous
#2953AC #4129AC #8229AC
triadic
#4129AC #AC4129 #29AC41
tetradic
#4129AC #AC2953 #94AC29 #29AC82
square
#4129AC #AC2953 #94AC29 #29AC82
split-complementary
#4129AC #AC8229 #53AC29
monochromatic
#1C1149 #2E1D7B #4129AC #5B41D2 #8672DD

Accessibility & contrast

On white

9.82
#4129AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4129AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4129AC
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4129AC#FFFFFF#000000##FFFFFF
##4129AC1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B0
Deuteranopia (green-blind)
#003FAA
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4129ac;
/* rgb */ color: rgb(65, 41, 172);
/* oklch */ color: oklch(40.5% 0.194 281.8);
Tailwind
colors: {
  custom: {
    50: '#8366c6',
    500: '#4129ac',
    950: '#000000',
  },
}
SCSS
$custom: #4129ac;
$custom-light: #8366c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4129ac",
  "rgb": {
    "r": 65,
    "g": 41,
    "b": 172
  },
  "hsl": {
    "h": 250.992,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40536,
    "c": 0.1939,
    "h": 281.8
  },
  "luminance": 0.05688
}

Semantic roles & 50–950 ramp

primary
#4129AC
secondary
#B4C56C
accent
#E543C7
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4129AC

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

Preview Lab → · Contrast checker → · Palette generator →

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