#412263#412263

#412263 is a dark, moderate violet. Relative luminance 0.032; OKLCH L 32.9% C 0.111 H 302.7°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#412263
RGBrgb(65, 34, 99)
HSLhsl(269, 49%, 26%)
HSVhsv(269, 66%, 39%)
CMYKcmyk(34.3%, 65.7%, 0%, 61.2%)
CIE-LABlab(20.71, 29.17, -33.00)
CIE-LCHlch(20.71, 44.04, 311.48°)
OKLaboklab(32.9% 0.06 -0.0935)
OKLCHoklch(32.9% 0.111 302.7)
XYZxyz(5.0036, 3.1687, 12.1500)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412263 #446322
analogous
#222363 #412263 #612263
triadic
#412263 #634122 #226341
tetradic
#412263 #632223 #446322 #226361
square
#412263 #632223 #446322 #226361
split-complementary
#412263 #636122 #236322
monochromatic
#0F0817 #231235 #412263 #5F3291 #7D41BE

Accessibility & contrast

On white

12.85
#412263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#412263 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412263
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412263#FFFFFF#000000##FFFFFF
##4122631.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003165
Deuteranopia (green-blind)
#0F3262
Tritanopia (blue-blind)
#3A303F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #412263;
/* rgb */ color: rgb(65, 34, 99);
/* oklch */ color: oklch(32.9% 0.111 302.7);
Tailwind
colors: {
  custom: {
    50: '#785f90',
    500: '#412263',
    950: '#000000',
  },
}
SCSS
$custom: #412263;
$custom-light: #785f90;
$custom-dark: #000000;
JSON
{
  "hex": "#412263",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 99
  },
  "hsl": {
    "h": 268.615,
    "s": 48.872,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32899,
    "c": 0.11113,
    "h": 302.7
  },
  "luminance": 0.03169
}

Semantic roles & 50–950 ramp

primary
#412263
secondary
#72974A
accent
#D84F97
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #412263

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

Preview Lab → · Contrast checker → · Palette generator →

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