#403265#403265

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

Color values

HEX#403265
RGBrgb(64, 50, 101)
HSLhsl(256, 34%, 30%)
HSVhsv(256, 50%, 40%)
CMYKcmyk(36.6%, 50.5%, 0%, 60.4%)
CIE-LABlab(24.67, 19.28, -27.97)
CIE-LCHlch(24.67, 33.97, 304.59°)
OKLaboklab(35.85% 0.0355 -0.0788)
OKLCHoklch(35.85% 0.086 294.3)
XYZxyz(5.6033, 4.3107, 12.8462)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403265 #576532
analogous
#323D65 #403265 #5A3265
triadic
#403265 #654032 #326540
tetradic
#403265 #65323D #576532 #32655A
square
#403265 #65323D #576532 #32655A
split-complementary
#403265 #655A32 #3D6532
monochromatic
#0D0A14 #261E3C #403265 #5A468E #7761B1

Accessibility & contrast

On white

11.28
#403265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403265
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403265#FFFFFF#000000##FFFFFF
##4032651.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203B67
Deuteranopia (green-blind)
#233A64
Tritanopia (blue-blind)
#373C46
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #403265;
/* rgb */ color: rgb(64, 50, 101);
/* oklch */ color: oklch(35.8% 0.086 294.3);
Tailwind
colors: {
  custom: {
    50: '#776a91',
    500: '#403265',
    950: '#000000',
  },
}
SCSS
$custom: #403265;
$custom-light: #776a91;
$custom-dark: #000000;
JSON
{
  "hex": "#403265",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 101
  },
  "hsl": {
    "h": 256.471,
    "s": 33.775,
    "l": 29.608
  },
  "oklch": {
    "l": 0.35845,
    "c": 0.08647,
    "h": 294.3
  },
  "luminance": 0.04311
}

Semantic roles & 50–950 ramp

primary
#403265
secondary
#86965D
accent
#CA5EAC
background
#F7F6F8
surface
#EDEBF0
border
#C8C6CB
text
#09060D
muted
#7B7A7D

Preview Lab

Preview with #403265

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

Preview Lab → · Contrast checker → · Palette generator →

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