#3702CF#3702CF

#3702CF is a dark, highly saturated violet. Relative luminance 0.054; OKLCH L 40.9% C 0.255 H 275.5°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#3702CF
RGBrgb(55, 2, 207)
HSLhsl(256, 98%, 41%)
HSVhsv(256, 99%, 81%)
CMYKcmyk(73.4%, 99%, 0%, 18.8%)
CIE-LABlab(27.74, 68.15, -87.99)
CIE-LCHlch(27.74, 111.30, 307.76°)
OKLaboklab(40.9% 0.0243 -0.2539)
OKLCHoklch(40.9% 0.255 275.5)
XYZxyz(12.8561, 5.3594, 59.3763)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3702CF #9ACF02
analogous
#0234CF #3702CF #9D02CF
triadic
#3702CF #CF3702 #02CF37
tetradic
#3702CF #CF0234 #9ACF02 #02CF9D
square
#3702CF #CF0234 #9ACF02 #02CF9D
split-complementary
#3702CF #CF9D02 #34CF02
monochromatic
#170156 #270192 #3702CF #4E11FD #7B4EFD

Accessibility & contrast

On white

10.13
#3702CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3702CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3702CF
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3702CF#FFFFFF#000000##FFFFFF
##3702CF1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049D4
Deuteranopia (green-blind)
#0039CC
Tritanopia (blue-blind)
#005479
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3702cf;
/* rgb */ color: rgb(55, 2, 207);
/* oklch */ color: oklch(40.9% 0.255 275.5);
Tailwind
colors: {
  custom: {
    50: '#885adf',
    500: '#3702cf',
    950: '#000000',
  },
}
SCSS
$custom: #3702cf;
$custom-light: #885adf;
$custom-dark: #000000;
JSON
{
  "hex": "#3702cf",
  "rgb": {
    "r": 55,
    "g": 2,
    "b": 207
  },
  "hsl": {
    "h": 255.512,
    "s": 98.086,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40904,
    "c": 0.25502,
    "h": 275.5
  },
  "luminance": 0.05361
}

Semantic roles & 50–950 ramp

primary
#3702CF
secondary
#B9DE4F
accent
#FF29C8
background
#F9F5FE
surface
#F2E9FC
border
#CCC5D5
text
#0E0515
muted
#7E7984

Preview Lab

Preview with #3702CF

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

Preview Lab → · Contrast checker → · Palette generator →

#3702CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva