#4121A6#4121A6

#4121A6 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.0% C 0.194 H 283.8°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#4121A6
RGBrgb(65, 33, 166)
HSLhsl(254, 67%, 39%)
HSVhsv(254, 80%, 65%)
CMYKcmyk(60.8%, 80.1%, 0%, 34.9%)
CIE-LABlab(26.63, 49.13, -65.46)
CIE-LCHlch(26.63, 81.84, 306.89°)
OKLaboklab(38.97% 0.0463 -0.1887)
OKLCHoklch(38.97% 0.194 283.8)
XYZxyz(9.6046, 4.9641, 36.5210)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4121A6 #86A621
analogous
#2144A6 #4121A6 #8421A6
triadic
#4121A6 #A64121 #21A641
tetradic
#4121A6 #A62144 #86A621 #21A684
square
#4121A6 #A62144 #86A621 #21A684
split-complementary
#4121A6 #A68421 #44A621
monochromatic
#190D40 #2D1773 #4121A6 #572FD6 #8062E0

Accessibility & contrast

On white

10.54
#4121A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#4121A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4121A6
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4121A6#FFFFFF#000000##FFFFFF
##4121A61.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AA
Deuteranopia (green-blind)
#003BA4
Tritanopia (blue-blind)
#004964
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4121a6;
/* rgb */ color: rgb(65, 33, 166);
/* oklch */ color: oklch(39.0% 0.194 283.8);
Tailwind
colors: {
  custom: {
    50: '#8361c2',
    500: '#4121a6',
    950: '#000000',
  },
}
SCSS
$custom: #4121a6;
$custom-light: #8361c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4121a6",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 166
  },
  "hsl": {
    "h": 254.436,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.3897,
    "c": 0.19431,
    "h": 283.8
  },
  "luminance": 0.04965
}

Semantic roles & 50–950 ramp

primary
#4121A6
secondary
#ACC55E
accent
#EA3EC0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #4121A6

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

Preview Lab → · Contrast checker → · Palette generator →

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