#412F6E#412F6E

#412F6E is a dark, moderate violet. Relative luminance 0.043; OKLCH L 36.0% C 0.105 H 293.6°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#412F6E
RGBrgb(65, 47, 110)
HSLhsl(257, 40%, 31%)
HSVhsv(257, 57%, 43%)
CMYKcmyk(40.9%, 57.3%, 0%, 56.9%)
CIE-LABlab(24.58, 24.27, -33.91)
CIE-LCHlch(24.58, 41.70, 305.59°)
OKLaboklab(35.99% 0.0421 -0.0962)
OKLCHoklch(35.99% 0.105 293.6)
XYZxyz(6.0102, 4.2825, 15.2588)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412F6E #5C6E2F
analogous
#2F3C6E #412F6E #602F6E
triadic
#412F6E #6E412F #2F6E41
tetradic
#412F6E #6E2F3C #5C6E2F #2F6E60
square
#412F6E #6E2F3C #5C6E2F #2F6E60
split-complementary
#412F6E #6E602F #3C6E2F
monochromatic
#0E0A18 #281D43 #412F6E #5A4199 #785DBA

Accessibility & contrast

On white

11.31
#412F6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#412F6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412F6E
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412F6E#FFFFFF#000000##FFFFFF
##412F6E1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123B70
Deuteranopia (green-blind)
#17396D
Tritanopia (blue-blind)
#363C49
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #412f6e;
/* rgb */ color: rgb(65, 47, 110);
/* oklch */ color: oklch(36.0% 0.105 293.6);
Tailwind
colors: {
  custom: {
    50: '#796898',
    500: '#412f6e',
    950: '#000000',
  },
}
SCSS
$custom: #412f6e;
$custom-light: #796898;
$custom-dark: #000000;
JSON
{
  "hex": "#412f6e",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 110
  },
  "hsl": {
    "h": 257.143,
    "s": 40.127,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35994,
    "c": 0.10502,
    "h": 293.6
  },
  "luminance": 0.04283
}

Semantic roles & 50–950 ramp

primary
#412F6E
secondary
#8B9F59
accent
#D058AE
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #412F6E

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

Preview Lab → · Contrast checker → · Palette generator →

#412F6E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva