#4124BA#4124BA

#4124BA is a dark, highly saturated violet. Relative luminance 0.059; OKLCH L 41.4% C 0.215 H 280.3°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#4124BA
RGBrgb(65, 36, 186)
HSLhsl(252, 68%, 44%)
HSVhsv(252, 81%, 73%)
CMYKcmyk(65.1%, 80.6%, 0%, 27.1%)
CIE-LABlab(29.23, 53.54, -73.13)
CIE-LCHlch(29.23, 90.64, 306.21°)
OKLaboklab(41.41% 0.0385 -0.2111)
OKLCHoklch(41.41% 0.215 280.3)
XYZxyz(11.6710, 5.9298, 46.9744)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4124BA #9DBA24
analogous
#2452BA #4124BA #8C24BA
triadic
#4124BA #BA4124 #24BA41
tetradic
#4124BA #BA2452 #9DBA24 #24BA8C
square
#4124BA #BA2452 #9DBA24 #24BA8C
split-complementary
#4124BA #BA8C24 #52BA24
monochromatic
#1D1053 #2F1A87 #4124BA #5F41DA #8A74E4

Accessibility & contrast

On white

9.61
#4124BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4124BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4124BA
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4124BA#FFFFFF#000000##FFFFFF
##4124BA1.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABE
Deuteranopia (green-blind)
#003FB7
Tritanopia (blue-blind)
#005270
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4124ba;
/* rgb */ color: rgb(65, 36, 186);
/* oklch */ color: oklch(41.4% 0.215 280.3);
Tailwind
colors: {
  custom: {
    50: '#8664d0',
    500: '#4124ba',
    950: '#000000',
  },
}
SCSS
$custom: #4124ba;
$custom-light: #8664d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4124ba",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 186
  },
  "hsl": {
    "h": 251.6,
    "s": 67.568,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41406,
    "c": 0.21458,
    "h": 280.3
  },
  "luminance": 0.05931
}

Semantic roles & 50–950 ramp

primary
#4124BA
secondary
#B9CB6E
accent
#EA3DC9
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4124BA

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

Preview Lab → · Contrast checker → · Palette generator →

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