#4121A0#4121A0

#4121A0 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.187 H 284.9°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#4121A0
RGBrgb(65, 33, 160)
HSLhsl(255, 66%, 38%)
HSVhsv(255, 79%, 63%)
CMYKcmyk(59.4%, 79.4%, 0%, 37.3%)
CIE-LABlab(26.01, 47.40, -62.85)
CIE-LCHlch(26.01, 78.71, 307.02°)
OKLaboklab(38.35% 0.0482 -0.1811)
OKLCHoklch(38.35% 0.187 284.9)
XYZxyz(9.0671, 4.7490, 33.6898)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4121A0 #80A021
analogous
#2141A0 #4121A0 #8021A0
triadic
#4121A0 #A04121 #21A041
tetradic
#4121A0 #A02141 #80A021 #21A080
square
#4121A0 #A02141 #80A021 #21A080
split-complementary
#4121A0 #A08021 #41A021
monochromatic
#180C3B #2C176D #4121A0 #562BD3 #7E5EDE

Accessibility & contrast

On white

10.77
#4121A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#4121A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4121A0
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4121A0#FFFFFF#000000##FFFFFF
##4121A01.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A4
Deuteranopia (green-blind)
#003A9E
Tritanopia (blue-blind)
#084660
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4121a0;
/* rgb */ color: rgb(65, 33, 160);
/* oklch */ color: oklch(38.4% 0.187 284.9);
Tailwind
colors: {
  custom: {
    50: '#8261bd',
    500: '#4121a0',
    950: '#000000',
  },
}
SCSS
$custom: #4121a0;
$custom-light: #8261bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4121a0",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 160
  },
  "hsl": {
    "h": 255.118,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.3835,
    "c": 0.18738,
    "h": 284.9
  },
  "luminance": 0.0475
}

Semantic roles & 50–950 ramp

primary
#4121A0
secondary
#A8C25B
accent
#E93FBE
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #4121A0

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

Preview Lab → · Contrast checker → · Palette generator →

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