#401269#401269

#401269 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.2% C 0.140 H 302.7°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#401269
RGBrgb(64, 18, 105)
HSLhsl(272, 71%, 24%)
HSVhsv(272, 83%, 41%)
CMYKcmyk(39%, 82.9%, 0%, 58.8%)
CIE-LABlab(18.11, 38.81, -41.15)
CIE-LCHlch(18.11, 56.57, 313.32°)
OKLaboklab(31.17% 0.0755 -0.1174)
OKLCHoklch(31.17% 0.14 302.7)
XYZxyz(4.8799, 2.5425, 13.5955)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401269 #3B6912
analogous
#141269 #401269 #691267
triadic
#401269 #694012 #126940
tetradic
#401269 #691412 #3B6912 #126769
square
#401269 #691412 #3B6912 #126769
split-complementary
#401269 #676912 #126914
monochromatic
#10041A #200935 #401269 #601B9D #8024D1

Accessibility & contrast

On white

13.92
#401269 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#401269 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401269
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401269#FFFFFF#000000##FFFFFF
##4012691.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6B
Deuteranopia (green-blind)
#002C67
Tritanopia (blue-blind)
#37293D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #401269;
/* rgb */ color: rgb(64, 18, 105);
/* oklch */ color: oklch(31.2% 0.140 302.7);
Tailwind
colors: {
  custom: {
    50: '#7a5695',
    500: '#401269',
    950: '#000000',
  },
}
SCSS
$custom: #401269;
$custom-light: #7a5695;
$custom-dark: #000000;
JSON
{
  "hex": "#401269",
  "rgb": {
    "r": 64,
    "g": 18,
    "b": 105
  },
  "hsl": {
    "h": 271.724,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.31172,
    "c": 0.13963,
    "h": 302.7
  },
  "luminance": 0.02543
}

Semantic roles & 50–950 ramp

primary
#401269
secondary
#68A136
accent
#ED3A8F
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #401269

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

Preview Lab → · Contrast checker → · Palette generator →

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