#3720A6#3720A6

#3720A6 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.197 H 279.3°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#3720A6
RGBrgb(55, 32, 166)
HSLhsl(250, 68%, 39%)
HSVhsv(250, 81%, 65%)
CMYKcmyk(66.9%, 80.7%, 0%, 34.9%)
CIE-LABlab(25.56, 48.54, -67.26)
CIE-LCHlch(25.56, 82.95, 305.82°)
OKLaboklab(38% 0.0317 -0.1942)
OKLCHoklch(38% 0.197 279.3)
XYZxyz(8.9728, 4.5977, 36.4836)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3720A6 #8FA620
analogous
#204CA6 #3720A6 #7A20A6
triadic
#3720A6 #A63720 #20A637
tetradic
#3720A6 #A6204C #8FA620 #20A67A
square
#3720A6 #A6204C #8FA620 #20A67A
split-complementary
#3720A6 #A67A20 #4CA620
monochromatic
#150C3F #261673 #3720A6 #4A2DD6 #7660E0

Accessibility & contrast

On white

10.94
#3720A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#3720A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3720A6
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3720A6#FFFFFF#000000##FFFFFF
##3720A61.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AA
Deuteranopia (green-blind)
#0037A4
Tritanopia (blue-blind)
#004963
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3720a6;
/* rgb */ color: rgb(55, 32, 166);
/* oklch */ color: oklch(38.0% 0.197 279.3);
Tailwind
colors: {
  custom: {
    50: '#7e60c2',
    500: '#3720a6',
    950: '#000000',
  },
}
SCSS
$custom: #3720a6;
$custom-light: #7e60c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3720a6",
  "rgb": {
    "r": 55,
    "g": 32,
    "b": 166
  },
  "hsl": {
    "h": 250.299,
    "s": 67.677,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37998,
    "c": 0.19682,
    "h": 279.3
  },
  "luminance": 0.04598
}

Semantic roles & 50–950 ramp

primary
#3720A6
secondary
#B3C55D
accent
#EB3DCD
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #3720A6

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

Preview Lab → · Contrast checker → · Palette generator →

#3720A6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva