#351D6E#351D6E

#351D6E is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.7% C 0.131 H 290.5°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#351D6E
RGBrgb(53, 29, 110)
HSLhsl(258, 58%, 27%)
HSVhsv(258, 74%, 43%)
CMYKcmyk(51.8%, 73.6%, 0%, 56.9%)
CIE-LABlab(19.06, 32.67, -42.92)
CIE-LCHlch(19.06, 53.94, 307.28°)
OKLaboklab(31.66% 0.0459 -0.1231)
OKLCHoklch(31.66% 0.131 290.5)
XYZxyz(4.7212, 2.7612, 15.0330)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351D6E #566E1D
analogous
#1D2E6E #351D6E #5E1D6E
triadic
#351D6E #6E351D #1D6E35
tetradic
#351D6E #6E1D2E #566E1D #1D6E5E
square
#351D6E #6E1D2E #566E1D #1D6E5E
split-complementary
#351D6E #6E5E1D #2E6E1D
monochromatic
#0C0618 #1E103E #351D6E #4C2A9E #653ACB

Accessibility & contrast

On white

13.53
#351D6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#351D6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351D6E
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351D6E#FFFFFF#000000##FFFFFF
##351D6E1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003070
Deuteranopia (green-blind)
#002C6C
Tritanopia (blue-blind)
#223243
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #351d6e;
/* rgb */ color: rgb(53, 29, 110);
/* oklch */ color: oklch(31.7% 0.131 290.5);
Tailwind
colors: {
  custom: {
    50: '#735b98',
    500: '#351d6e',
    950: '#000000',
  },
}
SCSS
$custom: #351d6e;
$custom-light: #735b98;
$custom-dark: #000000;
JSON
{
  "hex": "#351d6e",
  "rgb": {
    "r": 53,
    "g": 29,
    "b": 110
  },
  "hsl": {
    "h": 257.778,
    "s": 58.273,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31661,
    "c": 0.13141,
    "h": 290.5
  },
  "luminance": 0.02761
}

Semantic roles & 50–950 ramp

primary
#351D6E
secondary
#87A244
accent
#E146B4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #351D6E

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

Preview Lab → · Contrast checker → · Palette generator →

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