#351B67#351B67

#351B67 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.7% C 0.125 H 293.3°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#351B67
RGBrgb(53, 27, 103)
HSLhsl(261, 58%, 25%)
HSVhsv(261, 74%, 40%)
CMYKcmyk(48.5%, 73.8%, 0%, 59.6%)
CIE-LABlab(18.01, 31.68, -40.07)
CIE-LCHlch(18.01, 51.08, 308.33°)
OKLaboklab(30.71% 0.0494 -0.1148)
OKLCHoklch(30.71% 0.125 293.3)
XYZxyz(4.3076, 2.5199, 13.0888)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351B67 #4D671B
analogous
#1B2767 #351B67 #5B1B67
triadic
#351B67 #67351B #1B6735
tetradic
#351B67 #671B27 #4D671B #1B675B
square
#351B67 #671B27 #4D671B #1B675B
split-complementary
#351B67 #675B1B #27671B
monochromatic
#0C0618 #1C0E37 #351B67 #4E2897 #6734C8

Accessibility & contrast

On white

13.96
#351B67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351B67
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351B67#FFFFFF#000000##FFFFFF
##351B671.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D69
Deuteranopia (green-blind)
#002B65
Tritanopia (blue-blind)
#262E3F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #351b67;
/* rgb */ color: rgb(53, 27, 103);
/* oklch */ color: oklch(30.7% 0.125 293.3);
Tailwind
colors: {
  custom: {
    50: '#725a93',
    500: '#351b67',
    950: '#000000',
  },
}
SCSS
$custom: #351b67;
$custom-light: #725a93;
$custom-dark: #000000;
JSON
{
  "hex": "#351b67",
  "rgb": {
    "r": 53,
    "g": 27,
    "b": 103
  },
  "hsl": {
    "h": 260.526,
    "s": 58.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30713,
    "c": 0.12496,
    "h": 293.3
  },
  "luminance": 0.0252
}

Semantic roles & 50–950 ramp

primary
#351B67
secondary
#7D9C42
accent
#E246AC
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #351B67

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

Preview Lab → · Contrast checker → · Palette generator →

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