#3718A1#3718A1

#3718A1 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.6% C 0.197 H 280.8°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#3718A1
RGBrgb(55, 24, 161)
HSLhsl(254, 74%, 36%)
HSVhsv(254, 85%, 63%)
CMYKcmyk(65.8%, 85.1%, 0%, 36.9%)
CIE-LABlab(23.80, 50.59, -67.14)
CIE-LCHlch(23.80, 84.06, 307.00°)
OKLaboklab(36.62% 0.0371 -0.1937)
OKLCHoklch(36.62% 0.197 280.8)
XYZxyz(8.3332, 4.0380, 34.0516)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3718A1 #82A118
analogous
#183EA1 #3718A1 #7C18A1
triadic
#3718A1 #A13718 #18A137
tetradic
#3718A1 #A1183E #82A118 #18A17C
square
#3718A1 #A1183E #82A118 #18A17C
split-complementary
#3718A1 #A17C18 #3EA118
monochromatic
#130836 #25106C #3718A1 #4920D6 #714FE5

Accessibility & contrast

On white

11.62
#3718A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#3718A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3718A1
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3718A1#FFFFFF#000000##FFFFFF
##3718A11.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA5
Deuteranopia (green-blind)
#00349F
Tritanopia (blue-blind)
#00445F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3718a1;
/* rgb */ color: rgb(55, 24, 161);
/* oklch */ color: oklch(36.6% 0.197 280.8);
Tailwind
colors: {
  custom: {
    50: '#7e5cbe',
    500: '#3718a1',
    950: '#000000',
  },
}
SCSS
$custom: #3718a1;
$custom-light: #7e5cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3718a1",
  "rgb": {
    "r": 55,
    "g": 24,
    "b": 161
  },
  "hsl": {
    "h": 253.577,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.3662,
    "c": 0.19726,
    "h": 280.8
  },
  "luminance": 0.04039
}

Semantic roles & 50–950 ramp

primary
#3718A1
secondary
#ABC74E
accent
#F137C7
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #3718A1

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

Preview Lab → · Contrast checker → · Palette generator →

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