#400F69#400F69

#400F69 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.9% C 0.143 H 303.2°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#400F69
RGBrgb(64, 15, 105)
HSLhsl(273, 75%, 24%)
HSVhsv(273, 86%, 41%)
CMYKcmyk(39%, 85.7%, 0%, 58.8%)
CIE-LABlab(17.70, 40.00, -41.83)
CIE-LCHlch(17.70, 57.88, 313.72°)
OKLaboklab(30.89% 0.078 -0.1194)
OKLCHoklch(30.89% 0.143 303.2)
XYZxyz(4.8344, 2.4516, 13.5804)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400F69 #38690F
analogous
#130F69 #400F69 #690F65
triadic
#400F69 #69400F #0F6940
tetradic
#400F69 #69130F #38690F #0F6569
square
#400F69 #69130F #38690F #0F6569
split-complementary
#400F69 #65690F #0F6913
monochromatic
#10041B #1F0733 #400F69 #61179F #811ED4

Accessibility & contrast

On white

14.09
#400F69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#400F69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400F69
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400F69#FFFFFF#000000##FFFFFF
##400F691.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6B
Deuteranopia (green-blind)
#002B67
Tritanopia (blue-blind)
#37283D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #400f69;
/* rgb */ color: rgb(64, 15, 105);
/* oklch */ color: oklch(30.9% 0.143 303.2);
Tailwind
colors: {
  custom: {
    50: '#7a5595',
    500: '#400f69',
    950: '#000000',
  },
}
SCSS
$custom: #400f69;
$custom-light: #7a5595;
$custom-dark: #000000;
JSON
{
  "hex": "#400f69",
  "rgb": {
    "r": 64,
    "g": 15,
    "b": 105
  },
  "hsl": {
    "h": 272.667,
    "s": 75,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30886,
    "c": 0.14264,
    "h": 303.2
  },
  "luminance": 0.02452
}

Semantic roles & 50–950 ramp

primary
#400F69
secondary
#65A132
accent
#F2368C
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #400F69

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

Preview Lab → · Contrast checker → · Palette generator →

#400F69 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva