#4124A0#4124A0

#4124A0 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.185 H 284.5°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#4124A0
RGBrgb(65, 36, 160)
HSLhsl(254, 63%, 38%)
HSVhsv(254, 78%, 63%)
CMYKcmyk(59.4%, 77.5%, 0%, 37.3%)
CIE-LABlab(26.51, 45.94, -62.01)
CIE-LCHlch(26.51, 77.17, 306.53°)
OKLaboklab(38.7% 0.0461 -0.1787)
OKLCHoklch(38.7% 0.185 284.5)
XYZxyz(9.1541, 4.9231, 33.7188)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4124A0 #83A024
analogous
#2445A0 #4124A0 #7F24A0
triadic
#4124A0 #A04124 #24A041
tetradic
#4124A0 #A02445 #83A024 #24A07F
square
#4124A0 #A02445 #83A024 #24A07F
split-complementary
#4124A0 #A07F24 #45A024
monochromatic
#180E3C #2D196E #4124A0 #5631D1 #7F63DC

Accessibility & contrast

On white

10.58
#4124A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#4124A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4124A0
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4124A0#FFFFFF#000000##FFFFFF
##4124A01.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A4
Deuteranopia (green-blind)
#003B9E
Tritanopia (blue-blind)
#074861
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4124a0;
/* rgb */ color: rgb(65, 36, 160);
/* oklch */ color: oklch(38.7% 0.185 284.5);
Tailwind
colors: {
  custom: {
    50: '#8163bd',
    500: '#4124a0',
    950: '#000000',
  },
}
SCSS
$custom: #4124a0;
$custom-light: #8163bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4124a0",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 160
  },
  "hsl": {
    "h": 254.032,
    "s": 63.265,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38703,
    "c": 0.18454,
    "h": 284.5
  },
  "luminance": 0.04924
}

Semantic roles & 50–950 ramp

primary
#4124A0
secondary
#AAC15F
accent
#E641C0
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4124A0

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

Preview Lab → · Contrast checker → · Palette generator →

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