#4124B0#4124B0

#4124B0 is a dark, highly saturated violet. Relative luminance 0.055; OKLCH L 40.3% C 0.203 H 281.8°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#4124B0
RGBrgb(65, 36, 176)
HSLhsl(252, 66%, 42%)
HSVhsv(252, 80%, 69%)
CMYKcmyk(63.1%, 79.5%, 0%, 31%)
CIE-LABlab(28.17, 50.64, -68.94)
CIE-LCHlch(28.17, 85.54, 306.30°)
OKLaboklab(40.35% 0.0415 -0.1989)
OKLCHoklch(40.35% 0.203 281.8)
XYZxyz(10.6449, 5.5194, 41.5703)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4124B0 #93B024
analogous
#244DB0 #4124B0 #8724B0
triadic
#4124B0 #B04124 #24B041
tetradic
#4124B0 #B0244D #93B024 #24B087
square
#4124B0 #B0244D #93B024 #24B087
split-complementary
#4124B0 #B08724 #4DB024
monochromatic
#1B0F4A #2E1A7D #4124B0 #5B3AD7 #856DE1

Accessibility & contrast

On white

9.98
#4124B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4124B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4124B0
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4124B0#FFFFFF#000000##FFFFFF
##4124B01.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B4
Deuteranopia (green-blind)
#003DAE
Tritanopia (blue-blind)
#004E6A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4124b0;
/* rgb */ color: rgb(65, 36, 176);
/* oklch */ color: oklch(40.3% 0.203 281.8);
Tailwind
colors: {
  custom: {
    50: '#8464c9',
    500: '#4124b0',
    950: '#000000',
  },
}
SCSS
$custom: #4124b0;
$custom-light: #8464c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4124b0",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 176
  },
  "hsl": {
    "h": 252.429,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40349,
    "c": 0.20318,
    "h": 281.8
  },
  "luminance": 0.0552
}

Semantic roles & 50–950 ramp

primary
#4124B0
secondary
#B4C868
accent
#E93FC6
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4124B0

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

Preview Lab → · Contrast checker → · Palette generator →

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