#351D74#351D74

#351D74 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.2% C 0.139 H 288.7°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#351D74
RGBrgb(53, 29, 116)
HSLhsl(257, 60%, 28%)
HSVhsv(257, 75%, 45%)
CMYKcmyk(54.3%, 75%, 0%, 54.5%)
CIE-LABlab(19.62, 34.53, -45.88)
CIE-LCHlch(19.62, 57.42, 306.97°)
OKLaboklab(32.24% 0.0446 -0.1318)
OKLCHoklch(32.24% 0.139 288.7)
XYZxyz(5.0590, 2.8963, 16.8121)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351D74 #5C741D
analogous
#1D3074 #351D74 #601D74
triadic
#351D74 #74351D #1D7435
tetradic
#351D74 #741D30 #5C741D #1D7460
square
#351D74 #741D30 #5C741D #1D7460
split-complementary
#351D74 #74601D #30741D
monochromatic
#0B0618 #1F1143 #351D74 #4B29A5 #653DCE

Accessibility & contrast

On white

13.30
#351D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#351D74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351D74
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351D74#FFFFFF#000000##FFFFFF
##351D741.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003177
Deuteranopia (green-blind)
#002D72
Tritanopia (blue-blind)
#1D3446
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #351d74;
/* rgb */ color: rgb(53, 29, 116);
/* oklch */ color: oklch(32.2% 0.139 288.7);
Tailwind
colors: {
  custom: {
    50: '#745b9d',
    500: '#351d74',
    950: '#000000',
  },
}
SCSS
$custom: #351d74;
$custom-light: #745b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#351d74",
  "rgb": {
    "r": 53,
    "g": 29,
    "b": 116
  },
  "hsl": {
    "h": 256.552,
    "s": 60,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32235,
    "c": 0.13914,
    "h": 288.7
  },
  "luminance": 0.02897
}

Semantic roles & 50–950 ramp

primary
#351D74
secondary
#8DA845
accent
#E345B7
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #351D74

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

Preview Lab → · Contrast checker → · Palette generator →

#351D74 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva