#4129B2#4129B2

#4129B2 is a dark, highly saturated violet. Relative luminance 0.059; OKLCH L 41.1% C 0.201 H 280.9°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#4129B2
RGBrgb(65, 41, 178)
HSLhsl(251, 63%, 43%)
HSVhsv(251, 77%, 70%)
CMYKcmyk(63.5%, 77%, 0%, 30.2%)
CIE-LABlab(29.22, 48.80, -68.40)
CIE-LCHlch(29.22, 84.03, 305.51°)
OKLaboklab(41.15% 0.038 -0.1974)
OKLCHoklch(41.15% 0.201 280.9)
XYZxyz(11.0063, 5.9232, 42.6741)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4129B2 #9AB229
analogous
#2955B2 #4129B2 #8529B2
triadic
#4129B2 #B24129 #29B241
tetradic
#4129B2 #B22955 #9AB229 #29B285
square
#4129B2 #B22955 #9AB229 #29B285
split-complementary
#4129B2 #B28529 #55B229
monochromatic
#1D124F #2F1E80 #4129B2 #5D44D4 #8876DF

Accessibility & contrast

On white

9.61
#4129B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4129B2
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4129B2#FFFFFF#000000##FFFFFF
##4129B21.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB6
Deuteranopia (green-blind)
#0040B0
Tritanopia (blue-blind)
#00516C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4129b2;
/* rgb */ color: rgb(65, 41, 178);
/* oklch */ color: oklch(41.1% 0.201 280.9);
Tailwind
colors: {
  custom: {
    50: '#8466ca',
    500: '#4129b2',
    950: '#000000',
  },
}
SCSS
$custom: #4129b2;
$custom-light: #8466ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4129b2",
  "rgb": {
    "r": 65,
    "g": 41,
    "b": 178
  },
  "hsl": {
    "h": 250.511,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41145,
    "c": 0.20101,
    "h": 280.9
  },
  "luminance": 0.05924
}

Semantic roles & 50–950 ramp

primary
#4129B2
secondary
#B8C770
accent
#E642C9
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4129B2

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

Preview Lab → · Contrast checker → · Palette generator →

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