#351B61#351B61

#351B61 is a dark, moderate violet. Relative luminance 0.024; OKLCH L 30.2% C 0.117 H 295.6°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#351B61
RGBrgb(53, 27, 97)
HSLhsl(262, 56%, 24%)
HSVhsv(262, 72%, 38%)
CMYKcmyk(45.4%, 72.2%, 0%, 62%)
CIE-LABlab(17.48, 29.87, -36.98)
CIE-LCHlch(17.48, 47.54, 308.93°)
OKLaboklab(30.17% 0.0505 -0.1057)
OKLCHoklch(30.17% 0.117 295.6)
XYZxyz(4.0172, 2.4037, 11.5593)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351B61 #47611B
analogous
#1B2461 #351B61 #581B61
triadic
#351B61 #61351B #1B6135
tetradic
#351B61 #611B24 #47611B #1B6158
square
#351B61 #611B24 #47611B #1B6158
split-complementary
#351B61 #61581B #24611B
monochromatic
#0D0718 #1B0E31 #351B61 #4F2891 #6936C1

Accessibility & contrast

On white

14.18
#351B61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#351B61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351B61
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351B61#FFFFFF#000000##FFFFFF
##351B611.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B63
Deuteranopia (green-blind)
#002A60
Tritanopia (blue-blind)
#292C3B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #351b61;
/* rgb */ color: rgb(53, 27, 97);
/* oklch */ color: oklch(30.2% 0.117 295.6);
Tailwind
colors: {
  custom: {
    50: '#71598e',
    500: '#351b61',
    950: '#000000',
  },
}
SCSS
$custom: #351b61;
$custom-light: #71598e;
$custom-dark: #000000;
JSON
{
  "hex": "#351b61",
  "rgb": {
    "r": 53,
    "g": 27,
    "b": 97
  },
  "hsl": {
    "h": 262.286,
    "s": 56.452,
    "l": 24.314
  },
  "oklch": {
    "l": 0.30168,
    "c": 0.11713,
    "h": 295.6
  },
  "luminance": 0.02404
}

Semantic roles & 50–950 ramp

primary
#351B61
secondary
#779741
accent
#E048A7
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #351B61

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

Preview Lab → · Contrast checker → · Palette generator →

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