#3418A0#3418A0

#3418A0 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.3% C 0.197 H 279.6°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#3418A0
RGBrgb(52, 24, 160)
HSLhsl(252, 74%, 36%)
HSVhsv(252, 85%, 63%)
CMYKcmyk(67.5%, 85%, 0%, 37.3%)
CIE-LABlab(23.41, 50.04, -67.18)
CIE-LCHlch(23.41, 83.77, 306.68°)
OKLaboklab(36.25% 0.0328 -0.1939)
OKLCHoklch(36.25% 0.197 279.6)
XYZxyz(8.0859, 3.9207, 33.5815)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3418A0 #84A018
analogous
#1840A0 #3418A0 #7818A0
triadic
#3418A0 #A03418 #18A034
tetradic
#3418A0 #A01840 #84A018 #18A078
square
#3418A0 #A01840 #84A018 #18A078
split-complementary
#3418A0 #A07818 #40A018
monochromatic
#110836 #23106B #3418A0 #4520D5 #6D4EE4

Accessibility & contrast

On white

11.77
#3418A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#3418A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3418A0
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3418A0#FFFFFF#000000##FFFFFF
##3418A01.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA4
Deuteranopia (green-blind)
#00329E
Tritanopia (blue-blind)
#00445F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3418a0;
/* rgb */ color: rgb(52, 24, 160);
/* oklch */ color: oklch(36.3% 0.197 279.6);
Tailwind
colors: {
  custom: {
    50: '#7c5bbd',
    500: '#3418a0',
    950: '#000000',
  },
}
SCSS
$custom: #3418a0;
$custom-light: #7c5bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#3418a0",
  "rgb": {
    "r": 52,
    "g": 24,
    "b": 160
  },
  "hsl": {
    "h": 252.353,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36252,
    "c": 0.1967,
    "h": 279.6
  },
  "luminance": 0.03921
}

Semantic roles & 50–950 ramp

primary
#3418A0
secondary
#AEC64D
accent
#F137CA
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #3418A0

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

Preview Lab → · Contrast checker → · Palette generator →

#3418A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva