#351E68#351E68

#351E68 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.3% C 0.122 H 292.1°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#351E68
RGBrgb(53, 30, 104)
HSLhsl(259, 55%, 26%)
HSVhsv(259, 71%, 41%)
CMYKcmyk(49%, 71.2%, 0%, 59.2%)
CIE-LABlab(18.73, 30.23, -39.54)
CIE-LCHlch(18.73, 49.77, 307.40°)
OKLaboklab(31.26% 0.046 -0.1132)
OKLCHoklch(31.26% 0.122 292.1)
XYZxyz(4.4305, 2.6848, 13.3788)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351E68 #51681E
analogous
#1E2C68 #351E68 #5A1E68
triadic
#351E68 #68351E #1E6835
tetradic
#351E68 #681E2C #51681E #1E685A
square
#351E68 #681E2C #51681E #1E685A
split-complementary
#351E68 #685A1E #2C681E
monochromatic
#0C0718 #1D1039 #351E68 #4D2C98 #663AC6

Accessibility & contrast

On white

13.66
#351E68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#351E68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351E68
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351E68#FFFFFF#000000##FFFFFF
##351E681.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6A
Deuteranopia (green-blind)
#002C67
Tritanopia (blue-blind)
#263040
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #351e68;
/* rgb */ color: rgb(53, 30, 104);
/* oklch */ color: oklch(31.3% 0.122 292.1);
Tailwind
colors: {
  custom: {
    50: '#715b94',
    500: '#351e68',
    950: '#000000',
  },
}
SCSS
$custom: #351e68;
$custom-light: #715b94;
$custom-dark: #000000;
JSON
{
  "hex": "#351e68",
  "rgb": {
    "r": 53,
    "g": 30,
    "b": 104
  },
  "hsl": {
    "h": 258.649,
    "s": 55.224,
    "l": 26.275
  },
  "oklch": {
    "l": 0.3126,
    "c": 0.12218,
    "h": 292.1
  },
  "luminance": 0.02685
}

Semantic roles & 50–950 ramp

primary
#351E68
secondary
#819D45
accent
#DF49B0
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #351E68

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

Preview Lab → · Contrast checker → · Palette generator →

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