#351E5E#351E5E

#351E5E is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.4% C 0.109 H 295.8°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#351E5E
RGBrgb(53, 30, 94)
HSLhsl(262, 52%, 24%)
HSVhsv(262, 68%, 37%)
CMYKcmyk(43.6%, 68.1%, 0%, 63.1%)
CIE-LABlab(17.89, 27.15, -34.32)
CIE-LCHlch(17.89, 43.76, 308.34°)
OKLaboklab(30.39% 0.0473 -0.0979)
OKLCHoklch(30.39% 0.109 295.8)
XYZxyz(3.9523, 2.4935, 10.8606)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351E5E #475E1E
analogous
#1E275E #351E5E #551E5E
triadic
#351E5E #5E351E #1E5E35
tetradic
#351E5E #5E1E27 #475E1E #1E5E55
square
#351E5E #5E1E27 #475E1E #1E5E55
split-complementary
#351E5E #5E551E #275E1E
monochromatic
#0D0717 #1B0F30 #351E5E #4F2D8C #693CBB

Accessibility & contrast

On white

14.01
#351E5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#351E5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351E5E
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351E5E#FFFFFF#000000##FFFFFF
##351E5E1.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C60
Deuteranopia (green-blind)
#002B5D
Tritanopia (blue-blind)
#2B2D3B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #351e5e;
/* rgb */ color: rgb(53, 30, 94);
/* oklch */ color: oklch(30.4% 0.109 295.8);
Tailwind
colors: {
  custom: {
    50: '#705b8c',
    500: '#351e5e',
    950: '#000000',
  },
}
SCSS
$custom: #351e5e;
$custom-light: #705b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#351e5e",
  "rgb": {
    "r": 53,
    "g": 30,
    "b": 94
  },
  "hsl": {
    "h": 261.563,
    "s": 51.613,
    "l": 24.314
  },
  "oklch": {
    "l": 0.30385,
    "c": 0.10869,
    "h": 295.8
  },
  "luminance": 0.02494
}

Semantic roles & 50–950 ramp

primary
#351E5E
secondary
#779345
accent
#DB4DA8
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #351E5E

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

Preview Lab → · Contrast checker → · Palette generator →

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