#413175#413175

#413175 is a dark, moderate violet. Relative luminance 0.046; OKLCH L 36.9% C 0.112 H 290.7°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#413175
RGBrgb(65, 49, 117)
HSLhsl(254, 41%, 33%)
HSVhsv(254, 58%, 46%)
CMYKcmyk(44.4%, 58.1%, 0%, 54.1%)
CIE-LABlab(25.58, 25.13, -36.79)
CIE-LCHlch(25.58, 44.56, 304.34°)
OKLaboklab(36.89% 0.0396 -0.1047)
OKLCHoklch(36.89% 0.112 290.7)
XYZxyz(6.4883, 4.6046, 17.3731)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413175 #657531
analogous
#314375 #413175 #633175
triadic
#413175 #754131 #317541
tetradic
#413175 #753143 #657531 #317563
square
#413175 #753143 #657531 #317563
split-complementary
#413175 #756331 #437531
monochromatic
#110D1F #291F4A #413175 #5943A0 #7863BE

Accessibility & contrast

On white

10.93
#413175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#413175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413175
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413175#FFFFFF#000000##FFFFFF
##4131751.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3E77
Deuteranopia (green-blind)
#103B74
Tritanopia (blue-blind)
#32404E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #413175;
/* rgb */ color: rgb(65, 49, 117);
/* oklch */ color: oklch(36.9% 0.112 290.7);
Tailwind
colors: {
  custom: {
    50: '#79699d',
    500: '#413175',
    950: '#000000',
  },
}
SCSS
$custom: #413175;
$custom-light: #79699d;
$custom-dark: #000000;
JSON
{
  "hex": "#413175",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 117
  },
  "hsl": {
    "h": 254.118,
    "s": 40.964,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36885,
    "c": 0.11192,
    "h": 290.7
  },
  "luminance": 0.04605
}

Semantic roles & 50–950 ramp

primary
#413175
secondary
#94A55D
accent
#D157B4
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #413175

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

Preview Lab → · Contrast checker → · Palette generator →

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