#4121AA#4121AA

#4121AA is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.4% C 0.199 H 283.1°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#4121AA
RGBrgb(65, 33, 170)
HSLhsl(254, 67%, 40%)
HSVhsv(254, 81%, 67%)
CMYKcmyk(61.8%, 80.6%, 0%, 33.3%)
CIE-LABlab(27.05, 50.28, -67.17)
CIE-LCHlch(27.05, 83.91, 306.82°)
OKLaboklab(39.39% 0.045 -0.1937)
OKLCHoklch(39.39% 0.199 283.1)
XYZxyz(9.9773, 5.1131, 38.4836)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4121AA #8AAA21
analogous
#2145AA #4121AA #8621AA
triadic
#4121AA #AA4121 #21AA41
tetradic
#4121AA #AA2145 #8AAA21 #21AA86
square
#4121AA #AA2145 #8AAA21 #21AA86
split-complementary
#4121AA #AA8621 #45AA21
monochromatic
#1A0D43 #2D1777 #4121AA #5831D7 #8264E1

Accessibility & contrast

On white

10.38
#4121AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4121AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4121AA#FFFFFF#000000##FFFFFF
##4121AA1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AE
Deuteranopia (green-blind)
#003BA8
Tritanopia (blue-blind)
#004A66
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4121aa;
/* rgb */ color: rgb(65, 33, 170);
/* oklch */ color: oklch(39.4% 0.199 283.1);
Tailwind
colors: {
  custom: {
    50: '#8362c5',
    500: '#4121aa',
    950: '#000000',
  },
}
SCSS
$custom: #4121aa;
$custom-light: #8362c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4121aa",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 170
  },
  "hsl": {
    "h": 254.015,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39389,
    "c": 0.19888,
    "h": 283.1
  },
  "luminance": 0.05114
}

Semantic roles & 50–950 ramp

primary
#4121AA
secondary
#AEC661
accent
#EA3DC2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #4121AA

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

Preview Lab → · Contrast checker → · Palette generator →

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