#351C6E#351C6E

#351C6E is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.5% C 0.133 H 290.7°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#351C6E
RGBrgb(53, 28, 110)
HSLhsl(258, 59%, 27%)
HSVhsv(258, 75%, 43%)
CMYKcmyk(51.8%, 74.5%, 0%, 56.9%)
CIE-LABlab(18.86, 33.24, -43.25)
CIE-LCHlch(18.86, 54.55, 307.55°)
OKLaboklab(31.51% 0.0469 -0.1241)
OKLCHoklch(31.51% 0.133 290.7)
XYZxyz(4.6971, 2.7130, 15.0250)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351C6E #556E1C
analogous
#1C2C6E #351C6E #5E1C6E
triadic
#351C6E #6E351C #1C6E35
tetradic
#351C6E #6E1C2C #556E1C #1C6E5E
square
#351C6E #6E1C2C #556E1C #1C6E5E
split-complementary
#351C6E #6E5E1C #2C6E1C
monochromatic
#0C0618 #1D103D #351C6E #4D289F #6538CC

Accessibility & contrast

On white

13.61
#351C6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#351C6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351C6E
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351C6E#FFFFFF#000000##FFFFFF
##351C6E1.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351c6e;
/* rgb */ color: rgb(53, 28, 110);
/* oklch */ color: oklch(31.5% 0.133 290.7);
Tailwind
colors: {
  custom: {
    50: '#735a98',
    500: '#351c6e',
    950: '#000000',
  },
}
SCSS
$custom: #351c6e;
$custom-light: #735a98;
$custom-dark: #000000;
JSON
{
  "hex": "#351c6e",
  "rgb": {
    "r": 53,
    "g": 28,
    "b": 110
  },
  "hsl": {
    "h": 258.293,
    "s": 59.42,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31515,
    "c": 0.13269,
    "h": 290.7
  },
  "luminance": 0.02713
}

Semantic roles & 50–950 ramp

primary
#351C6E
secondary
#86A343
accent
#E345B3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #351C6E

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

Preview Lab → · Contrast checker → · Palette generator →

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