#4121A7#4121A7

#4121A7 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.1% C 0.195 H 283.6°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#4121A7
RGBrgb(65, 33, 167)
HSLhsl(254, 67%, 39%)
HSVhsv(254, 80%, 65%)
CMYKcmyk(61.1%, 80.2%, 0%, 34.5%)
CIE-LABlab(26.74, 49.42, -65.89)
CIE-LCHlch(26.74, 82.36, 306.87°)
OKLaboklab(39.07% 0.046 -0.19)
OKLCHoklch(39.07% 0.195 283.6)
XYZxyz(9.6967, 5.0009, 37.0060)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4121A7 #87A721
analogous
#2144A7 #4121A7 #8421A7
triadic
#4121A7 #A74121 #21A741
tetradic
#4121A7 #A72144 #87A721 #21A784
square
#4121A7 #A72144 #87A721 #21A784
split-complementary
#4121A7 #A78421 #44A721
monochromatic
#190D41 #2D1774 #4121A7 #572FD6 #8062E0

Accessibility & contrast

On white

10.50
#4121A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4121A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4121A7
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4121A7#FFFFFF#000000##FFFFFF
##4121A71.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4121a7;
/* rgb */ color: rgb(65, 33, 167);
/* oklch */ color: oklch(39.1% 0.195 283.6);
Tailwind
colors: {
  custom: {
    50: '#8361c2',
    500: '#4121a7',
    950: '#000000',
  },
}
SCSS
$custom: #4121a7;
$custom-light: #8361c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4121a7",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 167
  },
  "hsl": {
    "h": 254.328,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39075,
    "c": 0.19545,
    "h": 283.6
  },
  "luminance": 0.05002
}

Semantic roles & 50–950 ramp

primary
#4121A7
secondary
#ADC55F
accent
#EA3EC1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #4121A7

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

Preview Lab → · Contrast checker → · Palette generator →

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