#351E65#351E65

#351E65 is a dark, moderate violet. Relative luminance 0.026; OKLCH L 31.0% C 0.118 H 293.1°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#351E65
RGBrgb(53, 30, 101)
HSLhsl(259, 54%, 26%)
HSVhsv(259, 70%, 40%)
CMYKcmyk(47.5%, 70.3%, 0%, 60.4%)
CIE-LABlab(18.47, 29.30, -38.00)
CIE-LCHlch(18.47, 47.98, 307.63°)
OKLaboklab(30.99% 0.0464 -0.1087)
OKLCHoklch(30.99% 0.118 293.1)
XYZxyz(4.2808, 2.6249, 12.5905)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351E65 #4E651E
analogous
#1E2A65 #351E65 #581E65
triadic
#351E65 #65351E #1E6535
tetradic
#351E65 #651E2A #4E651E #1E6558
square
#351E65 #651E2A #4E651E #1E6558
split-complementary
#351E65 #65581E #2A651E
monochromatic
#0C0718 #1C1036 #351E65 #4E2C94 #673AC3

Accessibility & contrast

On white

13.77
#351E65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351E65
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351E65#FFFFFF#000000##FFFFFF
##351E651.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E67
Deuteranopia (green-blind)
#002C64
Tritanopia (blue-blind)
#272F3E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #351e65;
/* rgb */ color: rgb(53, 30, 101);
/* oklch */ color: oklch(31.0% 0.118 293.1);
Tailwind
colors: {
  custom: {
    50: '#715b91',
    500: '#351e65',
    950: '#000000',
  },
}
SCSS
$custom: #351e65;
$custom-light: #715b91;
$custom-dark: #000000;
JSON
{
  "hex": "#351e65",
  "rgb": {
    "r": 53,
    "g": 30,
    "b": 101
  },
  "hsl": {
    "h": 259.437,
    "s": 54.198,
    "l": 25.686
  },
  "oklch": {
    "l": 0.30991,
    "c": 0.11818,
    "h": 293.1
  },
  "luminance": 0.02625
}

Semantic roles & 50–950 ramp

primary
#351E65
secondary
#7E9A45
accent
#DE4AAE
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #351E65

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

Preview Lab → · Contrast checker → · Palette generator →

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