#4124A3#4124A3

#4124A3 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.0% C 0.188 H 283.9°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#4124A3
RGBrgb(65, 36, 163)
HSLhsl(254, 64%, 39%)
HSVhsv(254, 78%, 64%)
CMYKcmyk(60.1%, 77.9%, 0%, 36.1%)
CIE-LABlab(26.82, 46.82, -63.33)
CIE-LCHlch(26.82, 78.76, 306.48°)
OKLaboklab(39.01% 0.0453 -0.1825)
OKLCHoklch(39.01% 0.188 283.9)
XYZxyz(9.4197, 5.0293, 35.1176)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4124A3 #86A324
analogous
#2447A3 #4124A3 #8124A3
triadic
#4124A3 #A34124 #24A341
tetradic
#4124A3 #A32447 #86A324 #24A381
square
#4124A3 #A32447 #86A324 #24A381
split-complementary
#4124A3 #A38124 #47A324
monochromatic
#190E3F #2D1971 #4124A3 #5732D2 #8065DD

Accessibility & contrast

On white

10.47
#4124A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4124A3
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4124A3#FFFFFF#000000##FFFFFF
##4124A31.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A7
Deuteranopia (green-blind)
#003BA1
Tritanopia (blue-blind)
#004963
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4124a3;
/* rgb */ color: rgb(65, 36, 163);
/* oklch */ color: oklch(39.0% 0.188 283.9);
Tailwind
colors: {
  custom: {
    50: '#8263bf',
    500: '#4124a3',
    950: '#000000',
  },
}
SCSS
$custom: #4124a3;
$custom-light: #8263bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4124a3",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 163
  },
  "hsl": {
    "h": 253.701,
    "s": 63.819,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39007,
    "c": 0.18808,
    "h": 283.9
  },
  "luminance": 0.0503
}

Semantic roles & 50–950 ramp

primary
#4124A3
secondary
#ACC260
accent
#E741C1
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4124A3

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

Preview Lab → · Contrast checker → · Palette generator →

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