#4121AD#4121AD

#4121AD is a dark, highly saturated violet. Relative luminance 0.052; OKLCH L 39.7% C 0.202 H 282.6°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#4121AD
RGBrgb(65, 33, 173)
HSLhsl(254, 68%, 40%)
HSVhsv(254, 81%, 68%)
CMYKcmyk(62.4%, 80.9%, 0%, 32.2%)
CIE-LABlab(27.37, 51.15, -68.45)
CIE-LCHlch(27.37, 85.45, 306.77°)
OKLaboklab(39.71% 0.0441 -0.1974)
OKLCHoklch(39.71% 0.202 282.6)
XYZxyz(10.2643, 5.2279, 39.9953)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4121AD #8DAD21
analogous
#2147AD #4121AD #8721AD
triadic
#4121AD #AD4121 #21AD41
tetradic
#4121AD #AD2147 #8DAD21 #21AD87
square
#4121AD #AD2147 #8DAD21 #21AD87
split-complementary
#4121AD #AD8721 #47AD21
monochromatic
#1A0D46 #2E177A #4121AD #5933D8 #8366E2

Accessibility & contrast

On white

10.26
#4121AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##4121AD#FFFFFF#000000##FFFFFF
##4121AD1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4121ad;
/* rgb */ color: rgb(65, 33, 173);
/* oklch */ color: oklch(39.7% 0.202 282.6);
Tailwind
colors: {
  custom: {
    50: '#8462c7',
    500: '#4121ad',
    950: '#000000',
  },
}
SCSS
$custom: #4121ad;
$custom-light: #8462c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4121ad",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 173
  },
  "hsl": {
    "h": 253.714,
    "s": 67.961,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39705,
    "c": 0.20229,
    "h": 282.6
  },
  "luminance": 0.05229
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4121AD

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

Preview Lab → · Contrast checker → · Palette generator →

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