#403283#403283

#403283 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.1% C 0.130 H 286.4°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#403283
RGBrgb(64, 50, 131)
HSLhsl(250, 45%, 35%)
HSVhsv(250, 62%, 51%)
CMYKcmyk(51.1%, 61.8%, 0%, 48.6%)
CIE-LABlab(26.76, 28.71, -43.72)
CIE-LCHlch(26.76, 52.30, 303.29°)
OKLaboklab(38.06% 0.0367 -0.1251)
OKLCHoklch(38.06% 0.13 286.4)
XYZxyz(7.3505, 5.0095, 22.0480)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403283 #758332
analogous
#324D83 #403283 #683283
triadic
#403283 #834032 #328340
tetradic
#403283 #83324D #758332 #328368
square
#403283 #83324D #758332 #328368
split-complementary
#403283 #836832 #4D8332
monochromatic
#15102A #2A2157 #403283 #5643AF #7969C6

Accessibility & contrast

On white

10.49
#403283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#403283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403283
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403283#FFFFFF#000000##FFFFFF
##4032831.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004186
Deuteranopia (green-blind)
#003D81
Tritanopia (blue-blind)
#284555
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #403283;
/* rgb */ color: rgb(64, 50, 131);
/* oklch */ color: oklch(38.1% 0.130 286.4);
Tailwind
colors: {
  custom: {
    50: '#7b6aa8',
    500: '#403283',
    950: '#000000',
  },
}
SCSS
$custom: #403283;
$custom-light: #7b6aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#403283",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 131
  },
  "hsl": {
    "h": 250.37,
    "s": 44.751,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38063,
    "c": 0.13037,
    "h": 286.4
  },
  "luminance": 0.0501
}

Semantic roles & 50–950 ramp

primary
#403283
secondary
#A1AE63
accent
#D453BE
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #403283

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

Preview Lab → · Contrast checker → · Palette generator →

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