#412063#412063

#412063 is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.6% C 0.114 H 303.3°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#412063
RGBrgb(65, 32, 99)
HSLhsl(270, 51%, 26%)
HSVhsv(270, 68%, 39%)
CMYKcmyk(34.3%, 67.7%, 0%, 61.2%)
CIE-LABlab(20.27, 30.35, -33.70)
CIE-LCHlch(20.27, 45.35, 312.00°)
OKLaboklab(32.58% 0.0627 -0.0956)
OKLCHoklch(32.58% 0.114 303.3)
XYZxyz(4.9481, 3.0577, 12.1315)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412063 #426320
analogous
#202063 #412063 #622063
triadic
#412063 #634120 #206341
tetradic
#412063 #632020 #426320 #206362
square
#412063 #632020 #426320 #206362
split-complementary
#412063 #636220 #206320
monochromatic
#0F0717 #231135 #412063 #5F2F91 #7E3EBF

Accessibility & contrast

On white

13.03
#412063 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#412063 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412063
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412063#FFFFFF#000000##FFFFFF
##4120631.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003065
Deuteranopia (green-blind)
#0B3162
Tritanopia (blue-blind)
#3A2E3E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #412063;
/* rgb */ color: rgb(65, 32, 99);
/* oklch */ color: oklch(32.6% 0.114 303.3);
Tailwind
colors: {
  custom: {
    50: '#795e90',
    500: '#412063',
    950: '#000000',
  },
}
SCSS
$custom: #412063;
$custom-light: #795e90;
$custom-dark: #000000;
JSON
{
  "hex": "#412063",
  "rgb": {
    "r": 65,
    "g": 32,
    "b": 99
  },
  "hsl": {
    "h": 269.552,
    "s": 51.145,
    "l": 25.686
  },
  "oklch": {
    "l": 0.32584,
    "c": 0.1143,
    "h": 303.3
  },
  "luminance": 0.03058
}

Semantic roles & 50–950 ramp

primary
#412063
secondary
#709748
accent
#DB4D95
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #412063

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

Preview Lab → · Contrast checker → · Palette generator →

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