#4124A5#4124A5

#4124A5 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.2% C 0.190 H 283.6°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#4124A5
RGBrgb(65, 36, 165)
HSLhsl(253, 64%, 39%)
HSVhsv(253, 78%, 65%)
CMYKcmyk(60.6%, 78.2%, 0%, 35.3%)
CIE-LABlab(27.02, 47.42, -64.21)
CIE-LCHlch(27.02, 79.82, 306.44°)
OKLaboklab(39.21% 0.0447 -0.1851)
OKLCHoklch(39.21% 0.19 283.6)
XYZxyz(9.6003, 5.1015, 36.0688)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4124A5 #88A524
analogous
#2448A5 #4124A5 #8124A5
triadic
#4124A5 #A54124 #24A541
tetradic
#4124A5 #A52448 #88A524 #24A581
square
#4124A5 #A52448 #88A524 #24A581
split-complementary
#4124A5 #A58124 #48A524
monochromatic
#190E41 #2D1973 #4124A5 #5734D3 #8166DE

Accessibility & contrast

On white

10.39
#4124A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4124A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4124A5
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4124A5#FFFFFF#000000##FFFFFF
##4124A51.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A9
Deuteranopia (green-blind)
#003CA3
Tritanopia (blue-blind)
#004A64
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4124a5;
/* rgb */ color: rgb(65, 36, 165);
/* oklch */ color: oklch(39.2% 0.190 283.6);
Tailwind
colors: {
  custom: {
    50: '#8263c1',
    500: '#4124a5',
    950: '#000000',
  },
}
SCSS
$custom: #4124a5;
$custom-light: #8263c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4124a5",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 165
  },
  "hsl": {
    "h": 253.488,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39211,
    "c": 0.19043,
    "h": 283.6
  },
  "luminance": 0.05102
}

Semantic roles & 50–950 ramp

primary
#4124A5
secondary
#ADC362
accent
#E741C2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4124A5

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

Preview Lab → · Contrast checker → · Palette generator →

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