#413262#413262

#413262 is a dark, moderate violet. Relative luminance 0.043; OKLCH L 35.8% C 0.082 H 296.4°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#413262
RGBrgb(65, 50, 98)
HSLhsl(259, 32%, 29%)
HSVhsv(259, 49%, 38%)
CMYKcmyk(33.7%, 49%, 0%, 61.6%)
CIE-LABlab(24.60, 18.69, -26.13)
CIE-LCHlch(24.60, 32.13, 305.58°)
OKLaboklab(35.75% 0.0365 -0.0734)
OKLCHoklch(35.75% 0.082 296.4)
XYZxyz(5.5246, 4.2868, 12.0893)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413262 #536232
analogous
#323B62 #413262 #593262
triadic
#413262 #624132 #326241
tetradic
#413262 #62323B #536232 #326259
square
#413262 #62323B #536232 #326259
split-complementary
#413262 #625932 #3B6232
monochromatic
#0D0A14 #261D39 #413262 #5C478B #7960AE

Accessibility & contrast

On white

11.31
#413262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#413262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##413262#FFFFFF#000000##FFFFFF
##4132621.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)
#233B64
Deuteranopia (green-blind)
#263A61
Tritanopia (blue-blind)
#3A3B45
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #413262;
/* rgb */ color: rgb(65, 50, 98);
/* oklch */ color: oklch(35.8% 0.082 296.4);
Tailwind
colors: {
  custom: {
    50: '#776a8f',
    500: '#413262',
    950: '#000000',
  },
}
SCSS
$custom: #413262;
$custom-light: #776a8f;
$custom-dark: #000000;
JSON
{
  "hex": "#413262",
  "rgb": {
    "r": 65,
    "g": 50,
    "b": 98
  },
  "hsl": {
    "h": 258.75,
    "s": 32.432,
    "l": 29.02
  },
  "oklch": {
    "l": 0.35755,
    "c": 0.08201,
    "h": 296.4
  },
  "luminance": 0.04287
}

Semantic roles & 50–950 ramp

primary
#413262
secondary
#82935D
accent
#C95FA8
background
#F7F6F8
surface
#EDEBF0
border
#C8C6CB
text
#09060C
muted
#7B7A7D

Preview Lab

Preview with #413262

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

Preview Lab → · Contrast checker → · Palette generator →

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