#4121AE#4121AE

#4121AE is a dark, highly saturated violet. Relative luminance 0.053; OKLCH L 39.8% C 0.203 H 282.4°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#4121AE
RGBrgb(65, 33, 174)
HSLhsl(254, 68%, 41%)
HSVhsv(254, 81%, 68%)
CMYKcmyk(62.6%, 81%, 0%, 31.8%)
CIE-LABlab(27.48, 51.43, -68.87)
CIE-LCHlch(27.48, 85.96, 306.75°)
OKLaboklab(39.81% 0.0438 -0.1987)
OKLCHoklch(39.81% 0.203 282.4)
XYZxyz(10.3614, 5.2668, 40.5068)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4121AE #8EAE21
analogous
#2147AE #4121AE #8721AE
triadic
#4121AE #AE4121 #21AE41
tetradic
#4121AE #AE2147 #8EAE21 #21AE87
square
#4121AE #AE2147 #8EAE21 #21AE87
split-complementary
#4121AE #AE8721 #47AE21
monochromatic
#1B0D47 #2E177B #4121AE #5934D8 #8367E2

Accessibility & contrast

On white

10.23
#4121AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4121AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4121AE#FFFFFF#000000##FFFFFF
##4121AE1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B2
Deuteranopia (green-blind)
#003CAC
Tritanopia (blue-blind)
#004C68
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4121ae;
/* rgb */ color: rgb(65, 33, 174);
/* oklch */ color: oklch(39.8% 0.203 282.4);
Tailwind
colors: {
  custom: {
    50: '#8462c7',
    500: '#4121ae',
    950: '#000000',
  },
}
SCSS
$custom: #4121ae;
$custom-light: #8462c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4121ae",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 174
  },
  "hsl": {
    "h": 253.617,
    "s": 68.116,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39811,
    "c": 0.20343,
    "h": 282.4
  },
  "luminance": 0.05268
}

Semantic roles & 50–950 ramp

primary
#4121AE
secondary
#B1C863
accent
#EB3DC3
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #4121AE

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

Preview Lab → · Contrast checker → · Palette generator →

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