#4129AF#4129AF

#4129AF is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.8% C 0.197 H 281.3°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#4129AF
RGBrgb(65, 41, 175)
HSLhsl(251, 62%, 42%)
HSVhsv(251, 77%, 69%)
CMYKcmyk(62.9%, 76.6%, 0%, 31.4%)
CIE-LABlab(28.91, 47.90, -67.11)
CIE-LCHlch(28.91, 82.45, 305.52°)
OKLaboklab(40.84% 0.0388 -0.1936)
OKLCHoklch(40.84% 0.197 281.3)
XYZxyz(10.7083, 5.8040, 41.1051)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4129AF #97AF29
analogous
#2954AF #4129AF #8429AF
triadic
#4129AF #AF4129 #29AF41
tetradic
#4129AF #AF2954 #97AF29 #29AF84
square
#4129AF #AF2954 #97AF29 #29AF84
split-complementary
#4129AF #AF8429 #54AF29
monochromatic
#1C124C #2F1D7D #4129AF #5C42D3 #8774DE

Accessibility & contrast

On white

9.72
#4129AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#4129AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4129AF
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4129AF#FFFFFF#000000##FFFFFF
##4129AF1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B3
Deuteranopia (green-blind)
#003FAD
Tritanopia (blue-blind)
#00506B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4129af;
/* rgb */ color: rgb(65, 41, 175);
/* oklch */ color: oklch(40.8% 0.197 281.3);
Tailwind
colors: {
  custom: {
    50: '#8466c8',
    500: '#4129af',
    950: '#000000',
  },
}
SCSS
$custom: #4129af;
$custom-light: #8466c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4129af",
  "rgb": {
    "r": 65,
    "g": 41,
    "b": 175
  },
  "hsl": {
    "h": 250.746,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40839,
    "c": 0.19747,
    "h": 281.3
  },
  "luminance": 0.05805
}

Semantic roles & 50–950 ramp

primary
#4129AF
secondary
#B6C66E
accent
#E543C8
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4129AF

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

Preview Lab → · Contrast checker → · Palette generator →

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