#412275#412275

#412275 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.4% C 0.134 H 295.6°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#412275
RGBrgb(65, 34, 117)
HSLhsl(262, 55%, 30%)
HSVhsv(262, 71%, 46%)
CMYKcmyk(44.4%, 70.9%, 0%, 54.1%)
CIE-LABlab(22.13, 34.30, -42.37)
CIE-LCHlch(22.13, 54.51, 309.00°)
OKLaboklab(34.38% 0.058 -0.1211)
OKLCHoklch(34.38% 0.134 295.6)
XYZxyz(5.9620, 3.5521, 17.1977)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412275 #567522
analogous
#222C75 #412275 #6B2275
triadic
#412275 #754122 #227541
tetradic
#412275 #75222C #567522 #22756B
square
#412275 #75222C #567522 #22756B
split-complementary
#412275 #756B22 #2C7522
monochromatic
#0D0718 #271446 #412275 #5B30A4 #7848CA

Accessibility & contrast

On white

12.28
#412275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#412275 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412275
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412275#FFFFFF#000000##FFFFFF
##4122751.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003678
Deuteranopia (green-blind)
#003473
Tritanopia (blue-blind)
#333648
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #412275;
/* rgb */ color: rgb(65, 34, 117);
/* oklch */ color: oklch(34.4% 0.134 295.6);
Tailwind
colors: {
  custom: {
    50: '#7b5f9d',
    500: '#412275',
    950: '#000000',
  },
}
SCSS
$custom: #412275;
$custom-light: #7b5f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#412275",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 117
  },
  "hsl": {
    "h": 262.41,
    "s": 54.967,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34376,
    "c": 0.13426,
    "h": 295.6
  },
  "luminance": 0.03552
}

Semantic roles & 50–950 ramp

primary
#412275
secondary
#85A84B
accent
#DE49A7
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #412275

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

Preview Lab → · Contrast checker → · Palette generator →

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