#4121B2#4121B2

#4121B2 is a dark, highly saturated violet. Relative luminance 0.054; OKLCH L 40.2% C 0.208 H 281.8°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#4121B2
RGBrgb(65, 33, 178)
HSLhsl(253, 69%, 41%)
HSVhsv(253, 81%, 70%)
CMYKcmyk(63.5%, 81.5%, 0%, 30.2%)
CIE-LABlab(27.91, 52.58, -70.56)
CIE-LCHlch(27.91, 87.99, 306.69°)
OKLaboklab(40.24% 0.0425 -0.2036)
OKLCHoklch(40.24% 0.208 281.8)
XYZxyz(10.7572, 5.4251, 42.5911)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4121B2 #92B221
analogous
#214AB2 #4121B2 #8A21B2
triadic
#4121B2 #B24121 #21B241
tetradic
#4121B2 #B2214A #92B221 #21B28A
square
#4121B2 #B2214A #92B221 #21B28A
split-complementary
#4121B2 #B28A21 #4AB221
monochromatic
#1B0E4B #2E177E #4121B2 #5A36DA #856AE3

Accessibility & contrast

On white

10.07
#4121B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4121B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4121B2#FFFFFF#000000##FFFFFF
##4121B21.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B6
Deuteranopia (green-blind)
#003DAF
Tritanopia (blue-blind)
#004E6B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4121b2;
/* rgb */ color: rgb(65, 33, 178);
/* oklch */ color: oklch(40.2% 0.208 281.8);
Tailwind
colors: {
  custom: {
    50: '#8562ca',
    500: '#4121b2',
    950: '#000000',
  },
}
SCSS
$custom: #4121b2;
$custom-light: #8562ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4121b2",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 178
  },
  "hsl": {
    "h": 253.241,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40237,
    "c": 0.20796,
    "h": 281.8
  },
  "luminance": 0.05426
}

Semantic roles & 50–950 ramp

primary
#4121B2
secondary
#B3C966
accent
#EC3CC5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #4121B2

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

Preview Lab → · Contrast checker → · Palette generator →

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