#413273#413273

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

Color values

HEX#413273
RGBrgb(65, 50, 115)
HSLhsl(254, 39%, 32%)
HSVhsv(254, 57%, 45%)
CMYKcmyk(43.5%, 56.5%, 0%, 54.9%)
CIE-LABlab(25.69, 23.86, -35.33)
CIE-LCHlch(25.69, 42.64, 304.03°)
OKLaboklab(36.93% 0.0382 -0.1004)
OKLCHoklch(36.93% 0.107 290.8)
XYZxyz(6.4142, 4.6426, 16.7745)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413273 #647332
analogous
#324473 #413273 #623273
triadic
#413273 #734132 #327341
tetradic
#413273 #733244 #647332 #327362
square
#413273 #733244 #647332 #327362
split-complementary
#413273 #736232 #447332
monochromatic
#110D1E #291F48 #413273 #59459E #7864BC

Accessibility & contrast

On white

10.89
#413273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#413273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413273
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413273#FFFFFF#000000##FFFFFF
##4132731.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133E75
Deuteranopia (green-blind)
#163B72
Tritanopia (blue-blind)
#33404D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #413273;
/* rgb */ color: rgb(65, 50, 115);
/* oklch */ color: oklch(36.9% 0.107 290.8);
Tailwind
colors: {
  custom: {
    50: '#796a9c',
    500: '#413273',
    950: '#000000',
  },
}
SCSS
$custom: #413273;
$custom-light: #796a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#413273",
  "rgb": {
    "r": 65,
    "g": 50,
    "b": 115
  },
  "hsl": {
    "h": 253.846,
    "s": 39.394,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36925,
    "c": 0.10741,
    "h": 290.8
  },
  "luminance": 0.04643
}

Semantic roles & 50–950 ramp

primary
#413273
secondary
#93A35D
accent
#CF59B4
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #413273

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

Preview Lab → · Contrast checker → · Palette generator →

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