#351B6E#351B6E

#351B6E is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.4% C 0.134 H 291.0°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#351B6E
RGBrgb(53, 27, 110)
HSLhsl(259, 61%, 27%)
HSVhsv(259, 75%, 43%)
CMYKcmyk(51.8%, 75.5%, 0%, 56.9%)
CIE-LABlab(18.66, 33.81, -43.58)
CIE-LCHlch(18.66, 55.16, 307.80°)
OKLaboklab(31.37% 0.0479 -0.1251)
OKLCHoklch(31.37% 0.134 291)
XYZxyz(4.6738, 2.6664, 15.0172)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351B6E #546E1B
analogous
#1B2B6E #351B6E #5F1B6E
triadic
#351B6E #6E351B #1B6E35
tetradic
#351B6E #6E1B2B #546E1B #1B6E5F
square
#351B6E #6E1B2B #546E1B #1B6E5F
split-complementary
#351B6E #6E5F1B #2B6E1B
monochromatic
#0C0619 #1D0F3D #351B6E #4D279F #6536CE

Accessibility & contrast

On white

13.70
#351B6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#351B6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351B6E
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351B6E#FFFFFF#000000##FFFFFF
##351B6E1.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F70
Deuteranopia (green-blind)
#002C6C
Tritanopia (blue-blind)
#223142
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #351b6e;
/* rgb */ color: rgb(53, 27, 110);
/* oklch */ color: oklch(31.4% 0.134 291.0);
Tailwind
colors: {
  custom: {
    50: '#735a98',
    500: '#351b6e',
    950: '#000000',
  },
}
SCSS
$custom: #351b6e;
$custom-light: #735a98;
$custom-dark: #000000;
JSON
{
  "hex": "#351b6e",
  "rgb": {
    "r": 53,
    "g": 27,
    "b": 110
  },
  "hsl": {
    "h": 258.795,
    "s": 60.584,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31373,
    "c": 0.13394,
    "h": 291
  },
  "luminance": 0.02667
}

Semantic roles & 50–950 ramp

primary
#351B6E
secondary
#85A342
accent
#E444B2
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #351B6E

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

Preview Lab → · Contrast checker → · Palette generator →

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