#412368#412368

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

Color values

HEX#412368
RGBrgb(65, 35, 104)
HSLhsl(266, 50%, 27%)
HSVhsv(266, 66%, 41%)
CMYKcmyk(37.5%, 66.3%, 0%, 59.2%)
CIE-LABlab(21.30, 29.98, -35.31)
CIE-LCHlch(21.30, 46.32, 310.34°)
OKLaboklab(33.45% 0.0584 -0.1003)
OKLCHoklch(33.45% 0.116 300.2)
XYZxyz(5.2791, 3.3253, 13.4577)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412368 #4A6823
analogous
#232868 #412368 #642368
triadic
#412368 #684123 #236841
tetradic
#412368 #682328 #4A6823 #236864
square
#412368 #682328 #4A6823 #236864
split-complementary
#412368 #686423 #286823
monochromatic
#0E0817 #24143A #412368 #5E3296 #7B45C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##412368#FFFFFF#000000##FFFFFF
##4123681.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)
#00336A
Deuteranopia (green-blind)
#083366
Tritanopia (blue-blind)
#393242
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #412368;
/* rgb */ color: rgb(65, 35, 104);
/* oklch */ color: oklch(33.5% 0.116 300.2);
Tailwind
colors: {
  custom: {
    50: '#796094',
    500: '#412368',
    950: '#000000',
  },
}
SCSS
$custom: #412368;
$custom-light: #796094;
$custom-dark: #000000;
JSON
{
  "hex": "#412368",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 104
  },
  "hsl": {
    "h": 266.087,
    "s": 49.64,
    "l": 27.255
  },
  "oklch": {
    "l": 0.3345,
    "c": 0.11607,
    "h": 300.2
  },
  "luminance": 0.03325
}

Semantic roles & 50–950 ramp

primary
#412368
secondary
#799B4B
accent
#D94F9D
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09050D
muted
#7B797E

Preview Lab

Preview with #412368

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

Preview Lab → · Contrast checker → · Palette generator →

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