#3618A7#3618A7

#3618A7 is a dark, highly saturated violet. Relative luminance 0.042; OKLCH L 37.2% C 0.204 H 279.4°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#3618A7
RGBrgb(54, 24, 167)
HSLhsl(253, 75%, 37%)
HSVhsv(253, 86%, 65%)
CMYKcmyk(67.7%, 85.6%, 0%, 34.5%)
CIE-LABlab(24.41, 52.20, -69.77)
CIE-LCHlch(24.41, 87.14, 306.80°)
OKLaboklab(37.22% 0.0334 -0.2014)
OKLCHoklch(37.22% 0.204 279.4)
XYZxyz(8.8208, 4.2268, 36.9027)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3618A7 #89A718
analogous
#1842A7 #3618A7 #7D18A7
triadic
#3618A7 #A73618 #18A736
tetradic
#3618A7 #A71842 #89A718 #18A77D
square
#3618A7 #A71842 #89A718 #18A77D
split-complementary
#3618A7 #A77D18 #42A718
monochromatic
#13093C #251071 #3618A7 #4720DD #7253E6

Accessibility & contrast

On white

11.38
#3618A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#3618A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3618A7
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3618A7#FFFFFF#000000##FFFFFF
##3618A71.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FAB
Deuteranopia (green-blind)
#0034A5
Tritanopia (blue-blind)
#004763
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3618a7;
/* rgb */ color: rgb(54, 24, 167);
/* oklch */ color: oklch(37.2% 0.204 279.4);
Tailwind
colors: {
  custom: {
    50: '#7e5cc3',
    500: '#3618a7',
    950: '#000000',
  },
}
SCSS
$custom: #3618a7;
$custom-light: #7e5cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#3618a7",
  "rgb": {
    "r": 54,
    "g": 24,
    "b": 167
  },
  "hsl": {
    "h": 252.587,
    "s": 74.869,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37219,
    "c": 0.20418,
    "h": 279.4
  },
  "luminance": 0.04228
}

Semantic roles & 50–950 ramp

primary
#3618A7
secondary
#B0C952
accent
#F136CA
background
#F8F5FC
surface
#F0E9F8
border
#CBC5D1
text
#0C0413
muted
#7D7982

Preview Lab

Preview with #3618A7

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

Preview Lab → · Contrast checker → · Palette generator →

#3618A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva