#351B63#351B63

#351B63 is a dark, moderate violet. Relative luminance 0.024; OKLCH L 30.3% C 0.120 H 294.8°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#351B63
RGBrgb(53, 27, 99)
HSLhsl(262, 57%, 25%)
HSVhsv(262, 73%, 39%)
CMYKcmyk(46.5%, 72.7%, 0%, 61.2%)
CIE-LABlab(17.65, 30.47, -38.02)
CIE-LCHlch(17.65, 48.72, 308.71°)
OKLaboklab(30.35% 0.0502 -0.1087)
OKLCHoklch(30.35% 0.12 294.8)
XYZxyz(4.1117, 2.4415, 12.0566)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351B63 #49631B
analogous
#1B2563 #351B63 #591B63
triadic
#351B63 #63351B #1B6335
tetradic
#351B63 #631B25 #49631B #1B6359
square
#351B63 #631B25 #49631B #1B6359
split-complementary
#351B63 #63591B #25631B
monochromatic
#0D0718 #1B0E33 #351B63 #4F2893 #6835C3

Accessibility & contrast

On white

14.11
#351B63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#351B63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351B63
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351B63#FFFFFF#000000##FFFFFF
##351B631.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C65
Deuteranopia (green-blind)
#002A62
Tritanopia (blue-blind)
#282D3C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #351b63;
/* rgb */ color: rgb(53, 27, 99);
/* oklch */ color: oklch(30.3% 0.120 294.8);
Tailwind
colors: {
  custom: {
    50: '#715990',
    500: '#351b63',
    950: '#000000',
  },
}
SCSS
$custom: #351b63;
$custom-light: #715990;
$custom-dark: #000000;
JSON
{
  "hex": "#351b63",
  "rgb": {
    "r": 53,
    "g": 27,
    "b": 99
  },
  "hsl": {
    "h": 261.667,
    "s": 57.143,
    "l": 24.706
  },
  "oklch": {
    "l": 0.30347,
    "c": 0.11975,
    "h": 294.8
  },
  "luminance": 0.02442
}

Semantic roles & 50–950 ramp

primary
#351B63
secondary
#799841
accent
#E047A9
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #351B63

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

Preview Lab → · Contrast checker → · Palette generator →

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