#412465#412465

#412465 is a dark, moderate violet. Relative luminance 0.033; OKLCH L 33.4% C 0.111 H 301.2°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#412465
RGBrgb(65, 36, 101)
HSLhsl(267, 47%, 27%)
HSVhsv(267, 64%, 40%)
CMYKcmyk(35.6%, 64.4%, 0%, 60.4%)
CIE-LABlab(21.30, 28.53, -33.35)
CIE-LCHlch(21.30, 43.89, 310.55°)
OKLaboklab(33.38% 0.0572 -0.0946)
OKLCHoklch(33.38% 0.111 301.2)
XYZxyz(5.1593, 3.3251, 12.6794)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412465 #486524
analogous
#242865 #412465 #622465
triadic
#412465 #654124 #246541
tetradic
#412465 #652428 #486524 #246562
square
#412465 #652428 #486524 #246562
split-complementary
#412465 #656224 #286524
monochromatic
#0F0817 #241438 #412465 #5E3492 #7B46BD

Accessibility & contrast

On white

12.61
#412465 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#412465 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412465
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412465#FFFFFF#000000##FFFFFF
##4124651.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003367
Deuteranopia (green-blind)
#0F3364
Tritanopia (blue-blind)
#3A3240
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #412465;
/* rgb */ color: rgb(65, 36, 101);
/* oklch */ color: oklch(33.4% 0.111 301.2);
Tailwind
colors: {
  custom: {
    50: '#796091',
    500: '#412465',
    950: '#000000',
  },
}
SCSS
$custom: #412465;
$custom-light: #796091;
$custom-dark: #000000;
JSON
{
  "hex": "#412465",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 101
  },
  "hsl": {
    "h": 266.769,
    "s": 47.445,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33378,
    "c": 0.11054,
    "h": 301.2
  },
  "luminance": 0.03325
}

Semantic roles & 50–950 ramp

primary
#412465
secondary
#76984C
accent
#D7519B
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09050D
muted
#7B797E

Preview Lab

Preview with #412465

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

Preview Lab → · Contrast checker → · Palette generator →

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