#351D63#351D63

#351D63 is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.7% C 0.117 H 294.2°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#351D63
RGBrgb(53, 29, 99)
HSLhsl(261, 55%, 25%)
HSVhsv(261, 71%, 39%)
CMYKcmyk(46.5%, 70.7%, 0%, 61.2%)
CIE-LABlab(18.08, 29.29, -37.32)
CIE-LCHlch(18.08, 47.44, 308.12°)
OKLaboklab(30.66% 0.0479 -0.1067)
OKLCHoklch(30.66% 0.117 294.2)
XYZxyz(4.1591, 2.5364, 12.0724)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351D63 #4B631D
analogous
#1D2863 #351D63 #581D63
triadic
#351D63 #63351D #1D6335
tetradic
#351D63 #631D28 #4B631D #1D6358
square
#351D63 #631D28 #4B631D #1D6358
split-complementary
#351D63 #63581D #28631D
monochromatic
#0D0718 #1C0F34 #351D63 #4E2B92 #6839C2

Accessibility & contrast

On white

13.93
#351D63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#351D63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351D63
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351D63#FFFFFF#000000##FFFFFF
##351D631.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D65
Deuteranopia (green-blind)
#002B62
Tritanopia (blue-blind)
#282E3D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #351d63;
/* rgb */ color: rgb(53, 29, 99);
/* oklch */ color: oklch(30.7% 0.117 294.2);
Tailwind
colors: {
  custom: {
    50: '#715b90',
    500: '#351d63',
    950: '#000000',
  },
}
SCSS
$custom: #351d63;
$custom-light: #715b90;
$custom-dark: #000000;
JSON
{
  "hex": "#351d63",
  "rgb": {
    "r": 53,
    "g": 29,
    "b": 99
  },
  "hsl": {
    "h": 260.571,
    "s": 54.688,
    "l": 25.098
  },
  "oklch": {
    "l": 0.30656,
    "c": 0.11693,
    "h": 294.2
  },
  "luminance": 0.02536
}

Semantic roles & 50–950 ramp

primary
#351D63
secondary
#7B9844
accent
#DE4AAB
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #351D63

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

Preview Lab → · Contrast checker → · Palette generator →

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