#3718A0#3718A0

#3718A0 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.5% C 0.196 H 281.0°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#3718A0
RGBrgb(55, 24, 160)
HSLhsl(254, 74%, 36%)
HSVhsv(254, 85%, 63%)
CMYKcmyk(65.6%, 85%, 0%, 37.3%)
CIE-LABlab(23.68, 50.30, -66.72)
CIE-LCHlch(23.68, 83.56, 307.01°)
OKLaboklab(36.51% 0.0374 -0.1925)
OKLCHoklch(36.51% 0.196 281)
XYZxyz(8.2453, 4.0029, 33.5890)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3718A0 #81A018
analogous
#183DA0 #3718A0 #7B18A0
triadic
#3718A0 #A03718 #18A037
tetradic
#3718A0 #A0183D #81A018 #18A07B
square
#3718A0 #A0183D #81A018 #18A07B
split-complementary
#3718A0 #A07B18 #3DA018
monochromatic
#120836 #25106B #3718A0 #4920D5 #704EE4

Accessibility & contrast

On white

11.66
#3718A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#3718A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3718A0
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3718A0#FFFFFF#000000##FFFFFF
##3718A01.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA4
Deuteranopia (green-blind)
#00339E
Tritanopia (blue-blind)
#00445F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3718a0;
/* rgb */ color: rgb(55, 24, 160);
/* oklch */ color: oklch(36.5% 0.196 281.0);
Tailwind
colors: {
  custom: {
    50: '#7d5cbd',
    500: '#3718a0',
    950: '#000000',
  },
}
SCSS
$custom: #3718a0;
$custom-light: #7d5cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#3718a0",
  "rgb": {
    "r": 55,
    "g": 24,
    "b": 160
  },
  "hsl": {
    "h": 253.676,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36507,
    "c": 0.19614,
    "h": 281
  },
  "luminance": 0.04004
}

Semantic roles & 50–950 ramp

primary
#3718A0
secondary
#ABC64D
accent
#F137C6
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #3718A0

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

Preview Lab → · Contrast checker → · Palette generator →

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