#3718A5#3718A5

#3718A5 is a dark, highly saturated violet. Relative luminance 0.042; OKLCH L 37.1% C 0.202 H 280.2°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#3718A5
RGBrgb(55, 24, 165)
HSLhsl(253, 75%, 37%)
HSVhsv(253, 85%, 65%)
CMYKcmyk(66.7%, 85.5%, 0%, 35.3%)
CIE-LABlab(24.26, 51.72, -68.80)
CIE-LCHlch(24.26, 86.07, 306.93°)
OKLaboklab(37.07% 0.0356 -0.1986)
OKLCHoklch(37.07% 0.202 280.2)
XYZxyz(8.6916, 4.1814, 35.9391)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3718A5 #86A518
analogous
#1840A5 #3718A5 #7D18A5
triadic
#3718A5 #A53718 #18A537
tetradic
#3718A5 #A51840 #86A518 #18A57D
square
#3718A5 #A51840 #86A518 #18A57D
split-complementary
#3718A5 #A57D18 #40A518
monochromatic
#13083A #251070 #3718A5 #4920DA #7252E6

Accessibility & contrast

On white

11.44
#3718A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#3718A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3718A5
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3718A5#FFFFFF#000000##FFFFFF
##3718A51.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA9
Deuteranopia (green-blind)
#0034A3
Tritanopia (blue-blind)
#004662
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3718a5;
/* rgb */ color: rgb(55, 24, 165);
/* oklch */ color: oklch(37.1% 0.202 280.2);
Tailwind
colors: {
  custom: {
    50: '#7e5cc1',
    500: '#3718a5',
    950: '#000000',
  },
}
SCSS
$custom: #3718a5;
$custom-light: #7e5cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#3718a5",
  "rgb": {
    "r": 55,
    "g": 24,
    "b": 165
  },
  "hsl": {
    "h": 253.191,
    "s": 74.603,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37074,
    "c": 0.20175,
    "h": 280.2
  },
  "luminance": 0.04182
}

Semantic roles & 50–950 ramp

primary
#3718A5
secondary
#AEC851
accent
#F137C8
background
#F8F5FC
surface
#F0E9F8
border
#CBC5D1
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #3718A5

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

Preview Lab → · Contrast checker → · Palette generator →

#3718A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva