#351E66#351E66

#351E66 is a dark, moderate violet. Relative luminance 0.026; OKLCH L 31.1% C 0.120 H 292.8°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#351E66
RGBrgb(53, 30, 102)
HSLhsl(259, 55%, 26%)
HSVhsv(259, 71%, 40%)
CMYKcmyk(48%, 70.6%, 0%, 60%)
CIE-LABlab(18.56, 29.61, -38.52)
CIE-LCHlch(18.56, 48.58, 307.55°)
OKLaboklab(31.08% 0.0463 -0.1102)
OKLCHoklch(31.08% 0.12 292.8)
XYZxyz(4.3301, 2.6446, 12.8501)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351E66 #4F661E
analogous
#1E2B66 #351E66 #591E66
triadic
#351E66 #66351E #1E6635
tetradic
#351E66 #661E2B #4F661E #1E6659
square
#351E66 #661E2B #4F661E #1E6659
split-complementary
#351E66 #66591E #2B661E
monochromatic
#0C0718 #1C1037 #351E66 #4E2C95 #663AC5

Accessibility & contrast

On white

13.73
#351E66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#351E66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351E66
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351E66#FFFFFF#000000##FFFFFF
##351E661.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E68
Deuteranopia (green-blind)
#002C65
Tritanopia (blue-blind)
#272F3F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #351e66;
/* rgb */ color: rgb(53, 30, 102);
/* oklch */ color: oklch(31.1% 0.120 292.8);
Tailwind
colors: {
  custom: {
    50: '#715b92',
    500: '#351e66',
    950: '#000000',
  },
}
SCSS
$custom: #351e66;
$custom-light: #715b92;
$custom-dark: #000000;
JSON
{
  "hex": "#351e66",
  "rgb": {
    "r": 53,
    "g": 30,
    "b": 102
  },
  "hsl": {
    "h": 259.167,
    "s": 54.545,
    "l": 25.882
  },
  "oklch": {
    "l": 0.3108,
    "c": 0.11951,
    "h": 292.8
  },
  "luminance": 0.02645
}

Semantic roles & 50–950 ramp

primary
#351E66
secondary
#7F9B45
accent
#DE4AAF
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #351E66

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

Preview Lab → · Contrast checker → · Palette generator →

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