#3718A8#3718A8

#3718A8 is a dark, highly saturated violet. Relative luminance 0.043; OKLCH L 37.4% C 0.205 H 279.7°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#3718A8
RGBrgb(55, 24, 168)
HSLhsl(253, 75%, 38%)
HSVhsv(253, 86%, 66%)
CMYKcmyk(67.3%, 85.7%, 0%, 34.1%)
CIE-LABlab(24.61, 52.56, -70.03)
CIE-LCHlch(24.61, 87.57, 306.89°)
OKLaboklab(37.42% 0.0346 -0.2022)
OKLCHoklch(37.42% 0.205 279.7)
XYZxyz(8.9678, 4.2919, 37.3940)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3718A8 #89A818
analogous
#1841A8 #3718A8 #7F18A8
triadic
#3718A8 #A83718 #18A837
tetradic
#3718A8 #A81841 #89A818 #18A87F
square
#3718A8 #A81841 #89A818 #18A87F
split-complementary
#3718A8 #A87F18 #41A818
monochromatic
#14093D #251072 #3718A8 #4920DE #7354E7

Accessibility & contrast

On white

11.30
#3718A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#3718A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3718A8
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3718A8#FFFFFF#000000##FFFFFF
##3718A81.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FAC
Deuteranopia (green-blind)
#0035A6
Tritanopia (blue-blind)
#004763
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3718a8;
/* rgb */ color: rgb(55, 24, 168);
/* oklch */ color: oklch(37.4% 0.205 279.7);
Tailwind
colors: {
  custom: {
    50: '#7f5cc3',
    500: '#3718a8',
    950: '#000000',
  },
}
SCSS
$custom: #3718a8;
$custom-light: #7f5cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#3718a8",
  "rgb": {
    "r": 55,
    "g": 24,
    "b": 168
  },
  "hsl": {
    "h": 252.917,
    "s": 75,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37416,
    "c": 0.20511,
    "h": 279.7
  },
  "luminance": 0.04293
}

Semantic roles & 50–950 ramp

primary
#3718A8
secondary
#B0C953
accent
#F236C9
background
#F8F5FC
surface
#F0E9F8
border
#CBC5D1
text
#0C0413
muted
#7D7982

Preview Lab

Preview with #3718A8

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

Preview Lab → · Contrast checker → · Palette generator →

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