#4124A6#4124A6

#4124A6 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.3% C 0.192 H 283.4°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#4124A6
RGBrgb(65, 36, 166)
HSLhsl(253, 64%, 40%)
HSVhsv(253, 78%, 65%)
CMYKcmyk(60.8%, 78.3%, 0%, 34.9%)
CIE-LABlab(27.12, 47.71, -64.64)
CIE-LCHlch(27.12, 80.34, 306.43°)
OKLaboklab(39.31% 0.0444 -0.1864)
OKLCHoklch(39.31% 0.192 283.4)
XYZxyz(9.6917, 5.1381, 36.5500)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4124A6 #89A624
analogous
#2448A6 #4124A6 #8224A6
triadic
#4124A6 #A64124 #24A641
tetradic
#4124A6 #A62448 #89A624 #24A682
square
#4124A6 #A62448 #89A624 #24A682
split-complementary
#4124A6 #A68224 #48A624
monochromatic
#1A0E41 #2D1974 #4124A6 #5834D3 #8166DE

Accessibility & contrast

On white

10.36
#4124A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4124A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4124A6
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4124A6#FFFFFF#000000##FFFFFF
##4124A61.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4124a6;
/* rgb */ color: rgb(65, 36, 166);
/* oklch */ color: oklch(39.3% 0.192 283.4);
Tailwind
colors: {
  custom: {
    50: '#8263c2',
    500: '#4124a6',
    950: '#000000',
  },
}
SCSS
$custom: #4124a6;
$custom-light: #8263c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4124a6",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 166
  },
  "hsl": {
    "h": 253.385,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39313,
    "c": 0.1916,
    "h": 283.4
  },
  "luminance": 0.05139
}

Semantic roles & 50–950 ramp

primary
#4124A6
secondary
#AEC462
accent
#E740C2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4124A6

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

Preview Lab → · Contrast checker → · Palette generator →

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