#351E52#351E52

#351E52 is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.4% C 0.092 H 301.4°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#351E52
RGBrgb(53, 30, 82)
HSLhsl(267, 46%, 22%)
HSVhsv(267, 63%, 32%)
CMYKcmyk(35.4%, 63.4%, 0%, 67.8%)
CIE-LABlab(16.96, 23.55, -27.77)
CIE-LCHlch(16.96, 36.41, 310.30°)
OKLaboklab(29.42% 0.0479 -0.0786)
OKLCHoklch(29.42% 0.092 301.4)
XYZxyz(3.4551, 2.2946, 8.2419)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351E52 #3B521E
analogous
#1E2152 #351E52 #4F1E52
triadic
#351E52 #52351E #1E5235
tetradic
#351E52 #521E21 #3B521E #1E524F
square
#351E52 #521E21 #3B521E #1E524F
split-complementary
#351E52 #524F1E #21521E
monochromatic
#0E0816 #180E25 #351E52 #522E7F #6F3FAC

Accessibility & contrast

On white

14.39
#351E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#351E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351E52
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351E52#FFFFFF#000000##FFFFFF
##351E521.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062954
Deuteranopia (green-blind)
#102A51
Tritanopia (blue-blind)
#2F2934
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #351e52;
/* rgb */ color: rgb(53, 30, 82);
/* oklch */ color: oklch(29.4% 0.092 301.4);
Tailwind
colors: {
  custom: {
    50: '#6f5b83',
    500: '#351e52',
    950: '#000000',
  },
}
SCSS
$custom: #351e52;
$custom-light: #6f5b83;
$custom-dark: #000000;
JSON
{
  "hex": "#351e52",
  "rgb": {
    "r": 53,
    "g": 30,
    "b": 82
  },
  "hsl": {
    "h": 266.538,
    "s": 46.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.29416,
    "c": 0.09205,
    "h": 301.4
  },
  "luminance": 0.02295
}

Semantic roles & 50–950 ramp

primary
#351E52
secondary
#6A8745
accent
#D6529C
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#07040A
muted
#7A797C

Preview Lab

Preview with #351E52

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

Preview Lab → · Contrast checker → · Palette generator →

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