#4129B1#4129B1

#4129B1 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.0% C 0.200 H 281.0°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#4129B1
RGBrgb(65, 41, 177)
HSLhsl(251, 62%, 43%)
HSVhsv(251, 77%, 69%)
CMYKcmyk(63.3%, 76.8%, 0%, 30.6%)
CIE-LABlab(29.12, 48.50, -67.97)
CIE-LCHlch(29.12, 83.50, 305.51°)
OKLaboklab(41.04% 0.0383 -0.1961)
OKLCHoklch(41.04% 0.2 281)
XYZxyz(10.9062, 5.8832, 42.1473)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4129B1 #99B129
analogous
#2955B1 #4129B1 #8529B1
triadic
#4129B1 #B14129 #29B141
tetradic
#4129B1 #B12955 #99B129 #29B185
square
#4129B1 #B12955 #99B129 #29B185
split-complementary
#4129B1 #B18529 #55B129
monochromatic
#1D124E #2F1D7F #4129B1 #5D44D4 #8875DF

Accessibility & contrast

On white

9.65
#4129B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4129B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4129B1
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4129B1#FFFFFF#000000##FFFFFF
##4129B11.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B5
Deuteranopia (green-blind)
#0040AF
Tritanopia (blue-blind)
#00516C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4129b1;
/* rgb */ color: rgb(65, 41, 177);
/* oklch */ color: oklch(41.0% 0.200 281.0);
Tailwind
colors: {
  custom: {
    50: '#8466ca',
    500: '#4129b1',
    950: '#000000',
  },
}
SCSS
$custom: #4129b1;
$custom-light: #8466ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4129b1",
  "rgb": {
    "r": 65,
    "g": 41,
    "b": 177
  },
  "hsl": {
    "h": 250.588,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.41043,
    "c": 0.19983,
    "h": 281
  },
  "luminance": 0.05884
}

Semantic roles & 50–950 ramp

primary
#4129B1
secondary
#B7C76F
accent
#E542C9
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4129B1

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

Preview Lab → · Contrast checker → · Palette generator →

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