#403263#403263

#403263 is a dark, moderate violet. Relative luminance 0.043; OKLCH L 35.7% C 0.083 H 295.0°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#403263
RGBrgb(64, 50, 99)
HSLhsl(257, 33%, 29%)
HSVhsv(257, 49%, 39%)
CMYKcmyk(35.4%, 49.5%, 0%, 61.2%)
CIE-LABlab(24.55, 18.68, -26.86)
CIE-LCHlch(24.55, 32.72, 304.82°)
OKLaboklab(35.71% 0.0352 -0.0756)
OKLCHoklch(35.71% 0.083 295)
XYZxyz(5.5065, 4.2720, 12.3364)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403263 #556332
analogous
#323D63 #403263 #593263
triadic
#403263 #634032 #326340
tetradic
#403263 #63323D #556332 #326359
square
#403263 #63323D #556332 #326359
split-complementary
#403263 #635932 #3D6332
monochromatic
#0D0A14 #261D3A #403263 #5A478C #7760AF

Accessibility & contrast

On white

11.32
#403263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#403263 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403263
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403263#FFFFFF#000000##FFFFFF
##4032631.0011.321.8511.32
#FFFFFF11.321.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223B65
Deuteranopia (green-blind)
#243A62
Tritanopia (blue-blind)
#383B45
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #403263;
/* rgb */ color: rgb(64, 50, 99);
/* oklch */ color: oklch(35.7% 0.083 295.0);
Tailwind
colors: {
  custom: {
    50: '#776a90',
    500: '#403263',
    950: '#000000',
  },
}
SCSS
$custom: #403263;
$custom-light: #776a90;
$custom-dark: #000000;
JSON
{
  "hex": "#403263",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 99
  },
  "hsl": {
    "h": 257.143,
    "s": 32.886,
    "l": 29.216
  },
  "oklch": {
    "l": 0.35714,
    "c": 0.08342,
    "h": 295
  },
  "luminance": 0.04272
}

Semantic roles & 50–950 ramp

primary
#403263
secondary
#84945D
accent
#C95FAB
background
#F7F6F8
surface
#EDEBF0
border
#C8C6CB
text
#09060C
muted
#7B7A7D

Preview Lab

Preview with #403263

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

Preview Lab → · Contrast checker → · Palette generator →

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