#4121A4#4121A4

#4121A4 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.8% C 0.192 H 284.1°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#4121A4
RGBrgb(65, 33, 164)
HSLhsl(255, 66%, 39%)
HSVhsv(255, 80%, 64%)
CMYKcmyk(60.4%, 79.9%, 0%, 35.7%)
CIE-LABlab(26.42, 48.55, -64.59)
CIE-LCHlch(26.42, 80.80, 306.93°)
OKLaboklab(38.76% 0.0469 -0.1862)
OKLCHoklch(38.76% 0.192 284.1)
XYZxyz(9.4226, 4.8913, 35.5623)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4121A4 #84A421
analogous
#2143A4 #4121A4 #8221A4
triadic
#4121A4 #A44121 #21A441
tetradic
#4121A4 #A42143 #84A421 #21A482
square
#4121A4 #A42143 #84A421 #21A482
split-complementary
#4121A4 #A48221 #43A421
monochromatic
#190C3E #2D1771 #4121A4 #562DD5 #7F60DF

Accessibility & contrast

On white

10.61
#4121A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#4121A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4121A4
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4121A4#FFFFFF#000000##FFFFFF
##4121A41.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A8
Deuteranopia (green-blind)
#003AA2
Tritanopia (blue-blind)
#004863
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4121a4;
/* rgb */ color: rgb(65, 33, 164);
/* oklch */ color: oklch(38.8% 0.192 284.1);
Tailwind
colors: {
  custom: {
    50: '#8261c0',
    500: '#4121a4',
    950: '#000000',
  },
}
SCSS
$custom: #4121a4;
$custom-light: #8261c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4121a4",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 164
  },
  "hsl": {
    "h": 254.656,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38762,
    "c": 0.192,
    "h": 284.1
  },
  "luminance": 0.04892
}

Semantic roles & 50–950 ramp

primary
#4121A4
secondary
#ABC45D
accent
#E93EC0
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #4121A4

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

Preview Lab → · Contrast checker → · Palette generator →

#4121A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva