#3720A8#3720A8

#3720A8 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.199 H 279.0°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#3720A8
RGBrgb(55, 32, 168)
HSLhsl(250, 68%, 39%)
HSVhsv(250, 81%, 66%)
CMYKcmyk(67.3%, 81%, 0%, 34.1%)
CIE-LABlab(25.78, 49.14, -68.11)
CIE-LCHlch(25.78, 83.99, 305.81°)
OKLaboklab(38.22% 0.0311 -0.1967)
OKLCHoklch(38.22% 0.199 279)
XYZxyz(9.1577, 4.6716, 37.4573)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3720A8 #91A820
analogous
#204DA8 #3720A8 #7B20A8
triadic
#3720A8 #A83720 #20A837
tetradic
#3720A8 #A8204D #91A820 #20A87B
square
#3720A8 #A8204D #91A820 #20A87B
split-complementary
#3720A8 #A87B20 #4DA820
monochromatic
#150C41 #261675 #3720A8 #4B2ED7 #7761E1

Accessibility & contrast

On white

10.86
#3720A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3720A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3720A8
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3720A8#FFFFFF#000000##FFFFFF
##3720A81.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AC
Deuteranopia (green-blind)
#0038A6
Tritanopia (blue-blind)
#004A65
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3720a8;
/* rgb */ color: rgb(55, 32, 168);
/* oklch */ color: oklch(38.2% 0.199 279.0);
Tailwind
colors: {
  custom: {
    50: '#7f60c3',
    500: '#3720a8',
    950: '#000000',
  },
}
SCSS
$custom: #3720a8;
$custom-light: #7f60c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3720a8",
  "rgb": {
    "r": 55,
    "g": 32,
    "b": 168
  },
  "hsl": {
    "h": 250.147,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38217,
    "c": 0.19914,
    "h": 279
  },
  "luminance": 0.04672
}

Semantic roles & 50–950 ramp

primary
#3720A8
secondary
#B4C65E
accent
#EB3DCD
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #3720A8

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

Preview Lab → · Contrast checker → · Palette generator →

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