#3718B4#3718B4

#3718B4 is a dark, highly saturated violet. Relative luminance 0.048; OKLCH L 38.8% C 0.218 H 278.0°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#3718B4
RGBrgb(55, 24, 180)
HSLhsl(252, 76%, 40%)
HSVhsv(252, 87%, 71%)
CMYKcmyk(69.4%, 86.7%, 0%, 29.4%)
CIE-LABlab(26.04, 55.92, -74.88)
CIE-LCHlch(26.04, 93.46, 306.75°)
OKLaboklab(38.8% 0.0304 -0.2162)
OKLCHoklch(38.8% 0.218 278)
XYZxyz(10.1377, 4.7599, 43.5557)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3718B4 #95B418
analogous
#1847B4 #3718B4 #8518B4
triadic
#3718B4 #B43718 #18B437
tetradic
#3718B4 #B41847 #95B418 #18B485
square
#3718B4 #B41847 #95B418 #18B485
split-complementary
#3718B4 #B48518 #47B418
monochromatic
#160A48 #26117E #3718B4 #4C27E2 #795DE9

Accessibility & contrast

On white

10.76
#3718B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3718B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3718B4
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3718B4#FFFFFF#000000##FFFFFF
##3718B41.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B8
Deuteranopia (green-blind)
#0037B1
Tritanopia (blue-blind)
#004C6A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3718b4;
/* rgb */ color: rgb(55, 24, 180);
/* oklch */ color: oklch(38.8% 0.218 278.0);
Tailwind
colors: {
  custom: {
    50: '#825dcc',
    500: '#3718b4',
    950: '#000000',
  },
}
SCSS
$custom: #3718b4;
$custom-light: #825dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3718b4",
  "rgb": {
    "r": 55,
    "g": 24,
    "b": 180
  },
  "hsl": {
    "h": 251.923,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.388,
    "c": 0.21835,
    "h": 278
  },
  "luminance": 0.04761
}

Semantic roles & 50–950 ramp

primary
#3718B4
secondary
#B6CD5B
accent
#F335CD
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #3718B4

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

Preview Lab → · Contrast checker → · Palette generator →

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