#351E6A#351E6A

#351E6A is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.4% C 0.125 H 291.4°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#351E6A
RGBrgb(53, 30, 106)
HSLhsl(258, 56%, 27%)
HSVhsv(258, 72%, 42%)
CMYKcmyk(50%, 71.7%, 0%, 58.4%)
CIE-LABlab(18.91, 30.85, -40.56)
CIE-LCHlch(18.91, 50.96, 307.25°)
OKLaboklab(31.44% 0.0456 -0.1162)
OKLCHoklch(31.44% 0.125 291.4)
XYZxyz(4.5333, 2.7259, 13.9202)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351E6A #536A1E
analogous
#1E2D6A #351E6A #5B1E6A
triadic
#351E6A #6A351E #1E6A35
tetradic
#351E6A #6A1E2D #536A1E #1E6A5B
square
#351E6A #6A1E2D #536A1E #1E6A5B
split-complementary
#351E6A #6A5B1E #2D6A1E
monochromatic
#0C0718 #1D113A #351E6A #4D2C9A #653BC7

Accessibility & contrast

On white

13.59
#351E6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#351E6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351E6A
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351E6A#FFFFFF#000000##FFFFFF
##351E6A1.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6C
Deuteranopia (green-blind)
#002C68
Tritanopia (blue-blind)
#243141
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #351e6a;
/* rgb */ color: rgb(53, 30, 106);
/* oklch */ color: oklch(31.4% 0.125 291.4);
Tailwind
colors: {
  custom: {
    50: '#725c95',
    500: '#351e6a',
    950: '#000000',
  },
}
SCSS
$custom: #351e6a;
$custom-light: #725c95;
$custom-dark: #000000;
JSON
{
  "hex": "#351e6a",
  "rgb": {
    "r": 53,
    "g": 30,
    "b": 106
  },
  "hsl": {
    "h": 258.158,
    "s": 55.882,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31441,
    "c": 0.12485,
    "h": 291.4
  },
  "luminance": 0.02726
}

Semantic roles & 50–950 ramp

primary
#351E6A
secondary
#839E45
accent
#DF49B2
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #351E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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