#4121A2#4121A2

#4121A2 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.6% C 0.190 H 284.5°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#4121A2
RGBrgb(65, 33, 162)
HSLhsl(255, 66%, 38%)
HSVhsv(255, 80%, 64%)
CMYKcmyk(59.9%, 79.6%, 0%, 36.5%)
CIE-LABlab(26.21, 47.97, -63.72)
CIE-LCHlch(26.21, 79.76, 306.98°)
OKLaboklab(38.56% 0.0476 -0.1836)
OKLCHoklch(38.56% 0.19 284.5)
XYZxyz(9.2434, 4.8196, 34.6186)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4121A2 #82A221
analogous
#2141A2 #4121A2 #8121A2
triadic
#4121A2 #A24121 #21A241
tetradic
#4121A2 #A22141 #82A221 #21A281
square
#4121A2 #A22141 #82A221 #21A281
split-complementary
#4121A2 #A28121 #41A221
monochromatic
#180C3C #2D176F #4121A2 #562CD4 #7F5FDE

Accessibility & contrast

On white

10.69
#4121A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#4121A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4121A2#FFFFFF#000000##FFFFFF
##4121A21.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A6
Deuteranopia (green-blind)
#003AA0
Tritanopia (blue-blind)
#024761
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4121a2;
/* rgb */ color: rgb(65, 33, 162);
/* oklch */ color: oklch(38.6% 0.190 284.5);
Tailwind
colors: {
  custom: {
    50: '#8261bf',
    500: '#4121a2',
    950: '#000000',
  },
}
SCSS
$custom: #4121a2;
$custom-light: #8261bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4121a2",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 162
  },
  "hsl": {
    "h": 254.884,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38555,
    "c": 0.1897,
    "h": 284.5
  },
  "luminance": 0.0482
}

Semantic roles & 50–950 ramp

primary
#4121A2
secondary
#A9C35C
accent
#E93FBF
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #4121A2

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

Preview Lab → · Contrast checker → · Palette generator →

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