#413279#413279

#413279 is a dark, moderate violet. Relative luminance 0.048; OKLCH L 37.4% C 0.116 H 289.3°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#413279
RGBrgb(65, 50, 121)
HSLhsl(253, 42%, 34%)
HSVhsv(253, 59%, 47%)
CMYKcmyk(46.3%, 58.7%, 0%, 52.5%)
CIE-LABlab(26.11, 25.74, -38.47)
CIE-LCHlch(26.11, 46.29, 303.79°)
OKLaboklab(37.37% 0.0383 -0.1096)
OKLCHoklch(37.37% 0.116 289.3)
XYZxyz(6.7708, 4.7853, 18.6523)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413279 #6A7932
analogous
#324679 #413279 #643279
triadic
#413279 #794132 #327941
tetradic
#413279 #793246 #6A7932 #327964
square
#413279 #793246 #6A7932 #327964
split-complementary
#413279 #796432 #467932
monochromatic
#120E22 #2A204E #413279 #5844A4 #7966C0

Accessibility & contrast

On white

10.73
#413279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#413279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413279
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413279#FFFFFF#000000##FFFFFF
##4132791.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083F7B
Deuteranopia (green-blind)
#0B3C77
Tritanopia (blue-blind)
#304250
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #413279;
/* rgb */ color: rgb(65, 50, 121);
/* oklch */ color: oklch(37.4% 0.116 289.3);
Tailwind
colors: {
  custom: {
    50: '#7a6aa0',
    500: '#413279',
    950: '#000000',
  },
}
SCSS
$custom: #413279;
$custom-light: #7a6aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#413279",
  "rgb": {
    "r": 65,
    "g": 50,
    "b": 121
  },
  "hsl": {
    "h": 252.676,
    "s": 41.52,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37373,
    "c": 0.11612,
    "h": 289.3
  },
  "luminance": 0.04785
}

Semantic roles & 50–950 ramp

primary
#413279
secondary
#98A75F
accent
#D156B7
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060F
muted
#7B7A7E

Preview Lab

Preview with #413279

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

Preview Lab → · Contrast checker → · Palette generator →

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