#4121B4#4121B4

#4121B4 is a dark, highly saturated violet. Relative luminance 0.055; OKLCH L 40.5% C 0.210 H 281.5°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#4121B4
RGBrgb(65, 33, 180)
HSLhsl(253, 69%, 42%)
HSVhsv(253, 82%, 71%)
CMYKcmyk(63.9%, 81.7%, 0%, 29.4%)
CIE-LABlab(28.13, 53.15, -71.39)
CIE-LCHlch(28.13, 89.00, 306.67°)
OKLaboklab(40.45% 0.0418 -0.206)
OKLCHoklch(40.45% 0.21 281.5)
XYZxyz(10.9595, 5.5060, 43.6564)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4121B4 #94B421
analogous
#214BB4 #4121B4 #8B21B4
triadic
#4121B4 #B44121 #21B441
tetradic
#4121B4 #B4214B #94B421 #21B48B
square
#4121B4 #B4214B #94B421 #21B48B
split-complementary
#4121B4 #B48B21 #4BB421
monochromatic
#1C0E4D #2E1880 #4121B4 #5B38DA #866BE4

Accessibility & contrast

On white

9.99
#4121B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4121B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4121B4#FFFFFF#000000##FFFFFF
##4121B41.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B8
Deuteranopia (green-blind)
#003DB1
Tritanopia (blue-blind)
#004F6C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4121b4;
/* rgb */ color: rgb(65, 33, 180);
/* oklch */ color: oklch(40.5% 0.210 281.5);
Tailwind
colors: {
  custom: {
    50: '#8562cc',
    500: '#4121b4',
    950: '#000000',
  },
}
SCSS
$custom: #4121b4;
$custom-light: #8562cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4121b4",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 180
  },
  "hsl": {
    "h": 253.061,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40451,
    "c": 0.21021,
    "h": 281.5
  },
  "luminance": 0.05507
}

Semantic roles & 50–950 ramp

primary
#4121B4
secondary
#B4CA67
accent
#EC3CC6
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0514
muted
#7D7A82

Preview Lab

Preview with #4121B4

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

Preview Lab → · Contrast checker → · Palette generator →

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