#41307F#41307F

#41307F is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.5% C 0.128 H 288.6°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#41307F
RGBrgb(65, 48, 127)
HSLhsl(253, 45%, 34%)
HSVhsv(253, 62%, 50%)
CMYKcmyk(48.8%, 62.2%, 0%, 50.2%)
CIE-LABlab(26.07, 28.92, -42.33)
CIE-LCHlch(26.07, 51.26, 304.34°)
OKLaboklab(37.48% 0.0407 -0.121)
OKLCHoklch(37.48% 0.128 288.6)
XYZxyz(7.0666, 4.7697, 20.6229)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41307F #6E7F30
analogous
#30477F #41307F #69307F
triadic
#41307F #7F4130 #307F41
tetradic
#41307F #7F3047 #6E7F30 #307F69
square
#41307F #7F3047 #6E7F30 #307F69
split-complementary
#41307F #7F6930 #477F30
monochromatic
#140E26 #2A1F53 #41307F #5841AB #7965C5

Accessibility & contrast

On white

10.75
#41307F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#41307F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41307F
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41307F#FFFFFF#000000##FFFFFF
##41307F1.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F82
Deuteranopia (green-blind)
#003C7D
Tritanopia (blue-blind)
#2D4252
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #41307f;
/* rgb */ color: rgb(65, 48, 127);
/* oklch */ color: oklch(37.5% 0.128 288.6);
Tailwind
colors: {
  custom: {
    50: '#7b69a5',
    500: '#41307f',
    950: '#000000',
  },
}
SCSS
$custom: #41307f;
$custom-light: #7b69a5;
$custom-dark: #000000;
JSON
{
  "hex": "#41307f",
  "rgb": {
    "r": 65,
    "g": 48,
    "b": 127
  },
  "hsl": {
    "h": 252.911,
    "s": 45.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37481,
    "c": 0.12763,
    "h": 288.6
  },
  "luminance": 0.0477
}

Semantic roles & 50–950 ramp

primary
#41307F
secondary
#9BAC5F
accent
#D553B9
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #41307F

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

Preview Lab → · Contrast checker → · Palette generator →

#41307F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva