#412273#412273

#412273 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.2% C 0.132 H 296.3°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#412273
RGBrgb(65, 34, 115)
HSLhsl(263, 54%, 29%)
HSVhsv(263, 70%, 45%)
CMYKcmyk(43.5%, 70.4%, 0%, 54.9%)
CIE-LABlab(21.96, 33.72, -41.35)
CIE-LCHlch(21.96, 53.36, 309.20°)
OKLaboklab(34.2% 0.0583 -0.1181)
OKLCHoklch(34.2% 0.132 296.3)
XYZxyz(5.8457, 3.5056, 16.5850)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412273 #547322
analogous
#222C73 #412273 #6A2273
triadic
#412273 #734122 #227341
tetradic
#412273 #73222C #547322 #22736A
square
#412273 #73222C #547322 #22736A
split-complementary
#412273 #736A22 #2C7322
monochromatic
#0D0718 #261444 #412273 #5C30A2 #7847C9

Accessibility & contrast

On white

12.34
#412273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#412273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412273
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412273#FFFFFF#000000##FFFFFF
##4122731.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003575
Deuteranopia (green-blind)
#003371
Tritanopia (blue-blind)
#343547
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #412273;
/* rgb */ color: rgb(65, 34, 115);
/* oklch */ color: oklch(34.2% 0.132 296.3);
Tailwind
colors: {
  custom: {
    50: '#7a5f9c',
    500: '#412273',
    950: '#000000',
  },
}
SCSS
$custom: #412273;
$custom-light: #7a5f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#412273",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 262.963,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34204,
    "c": 0.13172,
    "h": 296.3
  },
  "luminance": 0.03506
}

Semantic roles & 50–950 ramp

primary
#412273
secondary
#83A64B
accent
#DE4AA5
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #412273

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

Preview Lab → · Contrast checker → · Palette generator →

#412273 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva