#3B18A0#3B18A0

#3B18A0 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.9% C 0.196 H 282.9°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#3B18A0
RGBrgb(59, 24, 160)
HSLhsl(255, 74%, 36%)
HSVhsv(255, 85%, 63%)
CMYKcmyk(63.1%, 85%, 0%, 37.3%)
CIE-LABlab(24.07, 50.67, -66.07)
CIE-LCHlch(24.07, 83.26, 307.48°)
OKLaboklab(36.86% 0.0437 -0.1905)
OKLCHoklch(36.86% 0.196 282.9)
XYZxyz(8.4735, 4.1205, 33.5997)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B18A0 #7DA018
analogous
#1839A0 #3B18A0 #7F18A0
triadic
#3B18A0 #A03B18 #18A03B
tetradic
#3B18A0 #A01839 #7DA018 #18A07F
square
#3B18A0 #A01839 #7DA018 #18A07F
split-complementary
#3B18A0 #A07F18 #39A018
monochromatic
#140836 #27106B #3B18A0 #4F20D5 #754EE4

Accessibility & contrast

On white

11.51
#3B18A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#3B18A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B18A0
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B18A0#FFFFFF#000000##FFFFFF
##3B18A01.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA4
Deuteranopia (green-blind)
#00359E
Tritanopia (blue-blind)
#00435F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3b18a0;
/* rgb */ color: rgb(59, 24, 160);
/* oklch */ color: oklch(36.9% 0.196 282.9);
Tailwind
colors: {
  custom: {
    50: '#7f5cbd',
    500: '#3b18a0',
    950: '#000000',
  },
}
SCSS
$custom: #3b18a0;
$custom-light: #7f5cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#3b18a0",
  "rgb": {
    "r": 59,
    "g": 24,
    "b": 160
  },
  "hsl": {
    "h": 255.441,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36864,
    "c": 0.19551,
    "h": 282.9
  },
  "luminance": 0.04121
}

Semantic roles & 50–950 ramp

primary
#3B18A0
secondary
#A7C64D
accent
#F137C1
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #3B18A0

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

Preview Lab → · Contrast checker → · Palette generator →

#3B18A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva