#351E5C#351E5C

#351E5C is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.2% C 0.106 H 296.6°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#351E5C
RGBrgb(53, 30, 92)
HSLhsl(262, 51%, 24%)
HSVhsv(262, 67%, 36%)
CMYKcmyk(42.4%, 67.4%, 0%, 63.9%)
CIE-LABlab(17.73, 26.54, -33.25)
CIE-LCHlch(17.73, 42.55, 308.59°)
OKLaboklab(30.22% 0.0475 -0.0947)
OKLCHoklch(30.22% 0.106 296.6)
XYZxyz(3.8637, 2.4581, 10.3940)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351E5C #455C1E
analogous
#1E265C #351E5C #541E5C
triadic
#351E5C #5C351E #1E5C35
tetradic
#351E5C #5C1E26 #455C1E #1E5C54
square
#351E5C #5C1E26 #455C1E #1E5C54
split-complementary
#351E5C #5C541E #265C1E
monochromatic
#0D0817 #1A0F2E #351E5C #502D8A #6A3CB8

Accessibility & contrast

On white

14.08
#351E5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#351E5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351E5C
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351E5C#FFFFFF#000000##FFFFFF
##351E5C1.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5E
Deuteranopia (green-blind)
#002B5B
Tritanopia (blue-blind)
#2B2C3A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #351e5c;
/* rgb */ color: rgb(53, 30, 92);
/* oklch */ color: oklch(30.2% 0.106 296.6);
Tailwind
colors: {
  custom: {
    50: '#705b8b',
    500: '#351e5c',
    950: '#000000',
  },
}
SCSS
$custom: #351e5c;
$custom-light: #705b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#351e5c",
  "rgb": {
    "r": 53,
    "g": 30,
    "b": 92
  },
  "hsl": {
    "h": 262.258,
    "s": 50.82,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30217,
    "c": 0.10594,
    "h": 296.6
  },
  "luminance": 0.02458
}

Semantic roles & 50–950 ramp

primary
#351E5C
secondary
#759145
accent
#DA4DA6
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #351E5C

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

Preview Lab → · Contrast checker → · Palette generator →

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