#4124A9#4124A9

#4124A9 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.6% C 0.195 H 282.9°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#4124A9
RGBrgb(65, 36, 169)
HSLhsl(253, 65%, 40%)
HSVhsv(253, 79%, 66%)
CMYKcmyk(61.5%, 78.7%, 0%, 33.7%)
CIE-LABlab(27.43, 48.59, -65.95)
CIE-LCHlch(27.43, 81.91, 306.38°)
OKLaboklab(39.62% 0.0436 -0.1902)
OKLCHoklch(39.62% 0.195 282.9)
XYZxyz(9.9701, 5.2495, 38.0163)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4124A9 #8CA924
analogous
#2449A9 #4124A9 #8424A9
triadic
#4124A9 #A94124 #24A941
tetradic
#4124A9 #A92449 #8CA924 #24A984
square
#4124A9 #A92449 #8CA924 #24A984
split-complementary
#4124A9 #A98424 #49A924
monochromatic
#1A0F44 #2E1977 #4124A9 #5936D4 #8268DF

Accessibility & contrast

On white

10.24
#4124A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4124A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4124A9
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4124A9#FFFFFF#000000##FFFFFF
##4124A91.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AD
Deuteranopia (green-blind)
#003CA7
Tritanopia (blue-blind)
#004B66
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4124a9;
/* rgb */ color: rgb(65, 36, 169);
/* oklch */ color: oklch(39.6% 0.195 282.9);
Tailwind
colors: {
  custom: {
    50: '#8363c4',
    500: '#4124a9',
    950: '#000000',
  },
}
SCSS
$custom: #4124a9;
$custom-light: #8363c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4124a9",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 169
  },
  "hsl": {
    "h": 253.083,
    "s": 64.878,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39621,
    "c": 0.1951,
    "h": 282.9
  },
  "luminance": 0.0525
}

Semantic roles & 50–950 ramp

primary
#4124A9
secondary
#B0C564
accent
#E840C3
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #4124A9

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

Preview Lab → · Contrast checker → · Palette generator →

#4124A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva