#413267#413267

#413267 is a dark, moderate violet. Relative luminance 0.044; OKLCH L 36.1% C 0.090 H 294.5°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#413267
RGBrgb(65, 50, 103)
HSLhsl(257, 35%, 30%)
HSVhsv(257, 51%, 40%)
CMYKcmyk(36.9%, 51.5%, 0%, 59.6%)
CIE-LABlab(24.90, 20.18, -28.89)
CIE-LCHlch(24.90, 35.24, 304.94°)
OKLaboklab(36.08% 0.0372 -0.0815)
OKLCHoklch(36.08% 0.09 294.5)
XYZxyz(5.7681, 4.3842, 13.3717)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413267 #586732
analogous
#323D67 #413267 #5C3267
triadic
#413267 #674132 #326741
tetradic
#413267 #67323D #586732 #32675C
square
#413267 #67323D #586732 #32675C
split-complementary
#413267 #675C32 #3D6732
monochromatic
#0D0A15 #271E3E #413267 #5B4690 #7861B2

Accessibility & contrast

On white

11.19
#413267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#413267 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413267
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413267#FFFFFF#000000##FFFFFF
##4132671.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3C69
Deuteranopia (green-blind)
#223A66
Tritanopia (blue-blind)
#383C47
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #413267;
/* rgb */ color: rgb(65, 50, 103);
/* oklch */ color: oklch(36.1% 0.090 294.5);
Tailwind
colors: {
  custom: {
    50: '#786a93',
    500: '#413267',
    950: '#000000',
  },
}
SCSS
$custom: #413267;
$custom-light: #786a93;
$custom-dark: #000000;
JSON
{
  "hex": "#413267",
  "rgb": {
    "r": 65,
    "g": 50,
    "b": 103
  },
  "hsl": {
    "h": 256.981,
    "s": 34.641,
    "l": 30
  },
  "oklch": {
    "l": 0.36083,
    "c": 0.08958,
    "h": 294.5
  },
  "luminance": 0.04384
}

Semantic roles & 50–950 ramp

primary
#413267
secondary
#87985D
accent
#CB5DAC
background
#F7F6F9
surface
#EDEBF1
border
#C8C6CB
text
#09060D
muted
#7B7A7E

Preview Lab

Preview with #413267

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

Preview Lab → · Contrast checker → · Palette generator →

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