#4124A4#4124A4

#4124A4 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.1% C 0.189 H 283.8°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#4124A4
RGBrgb(65, 36, 164)
HSLhsl(254, 64%, 39%)
HSVhsv(254, 78%, 64%)
CMYKcmyk(60.4%, 78%, 0%, 35.7%)
CIE-LABlab(26.92, 47.12, -63.77)
CIE-LCHlch(26.92, 79.29, 306.46°)
OKLaboklab(39.11% 0.045 -0.1838)
OKLCHoklch(39.11% 0.189 283.8)
XYZxyz(9.5096, 5.0653, 35.5913)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4124A4 #87A424
analogous
#2447A4 #4124A4 #8124A4
triadic
#4124A4 #A44124 #24A441
tetradic
#4124A4 #A42447 #87A424 #24A481
square
#4124A4 #A42447 #87A424 #24A481
split-complementary
#4124A4 #A48124 #47A424
monochromatic
#190E40 #2D1972 #4124A4 #5733D2 #8065DD

Accessibility & contrast

On white

10.43
#4124A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4124A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4124A4
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4124A4#FFFFFF#000000##FFFFFF
##4124A41.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A8
Deuteranopia (green-blind)
#003BA2
Tritanopia (blue-blind)
#004963
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4124a4;
/* rgb */ color: rgb(65, 36, 164);
/* oklch */ color: oklch(39.1% 0.189 283.8);
Tailwind
colors: {
  custom: {
    50: '#8263c0',
    500: '#4124a4',
    950: '#000000',
  },
}
SCSS
$custom: #4124a4;
$custom-light: #8263c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4124a4",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 164
  },
  "hsl": {
    "h": 253.594,
    "s": 64,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39109,
    "c": 0.18925,
    "h": 283.8
  },
  "luminance": 0.05066
}

Semantic roles & 50–950 ramp

primary
#4124A4
secondary
#ADC361
accent
#E741C1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4124A4

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

Preview Lab → · Contrast checker → · Palette generator →

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