#413277#413277

#413277 is a dark, moderate violet. Relative luminance 0.047; OKLCH L 37.2% C 0.113 H 289.8°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#413277
RGBrgb(65, 50, 119)
HSLhsl(253, 41%, 33%)
HSVhsv(253, 58%, 47%)
CMYKcmyk(45.4%, 58%, 0%, 53.3%)
CIE-LABlab(25.97, 25.11, -37.43)
CIE-LCHlch(25.97, 45.07, 303.86°)
OKLaboklab(37.22% 0.0383 -0.1066)
OKLCHoklch(37.22% 0.113 289.8)
XYZxyz(6.6494, 4.7367, 18.0131)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413277 #687732
analogous
#324677 #413277 #633277
triadic
#413277 #774132 #327741
tetradic
#413277 #773246 #687732 #327763
square
#413277 #773246 #687732 #327763
split-complementary
#413277 #776332 #467732
monochromatic
#120E21 #29204C #413277 #5944A2 #7865BE

Accessibility & contrast

On white

10.78
#413277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#413277 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413277
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413277#FFFFFF#000000##FFFFFF
##4132771.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3F79
Deuteranopia (green-blind)
#0F3C75
Tritanopia (blue-blind)
#31414F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #413277;
/* rgb */ color: rgb(65, 50, 119);
/* oklch */ color: oklch(37.2% 0.113 289.8);
Tailwind
colors: {
  custom: {
    50: '#7a6a9f',
    500: '#413277',
    950: '#000000',
  },
}
SCSS
$custom: #413277;
$custom-light: #7a6a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#413277",
  "rgb": {
    "r": 65,
    "g": 50,
    "b": 119
  },
  "hsl": {
    "h": 253.043,
    "s": 40.828,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37222,
    "c": 0.11323,
    "h": 289.8
  },
  "luminance": 0.04737
}

Semantic roles & 50–950 ramp

primary
#413277
secondary
#97A65F
accent
#D157B6
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #413277

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

Preview Lab → · Contrast checker → · Palette generator →

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