#351E6B#351E6B

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

Color values

HEX#351E6B
RGBrgb(53, 30, 107)
HSLhsl(258, 56%, 27%)
HSVhsv(258, 72%, 42%)
CMYKcmyk(50.5%, 72%, 0%, 58%)
CIE-LABlab(19.00, 31.16, -41.07)
CIE-LCHlch(19.00, 51.55, 307.19°)
OKLaboklab(31.53% 0.0455 -0.1177)
OKLCHoklch(31.53% 0.126 291.1)
XYZxyz(4.5856, 2.7468, 14.1956)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351E6B #546B1E
analogous
#1E2E6B #351E6B #5C1E6B
triadic
#351E6B #6B351E #1E6B35
tetradic
#351E6B #6B1E2E #546B1E #1E6B5C
square
#351E6B #6B1E2E #546B1E #1E6B5C
split-complementary
#351E6B #6B5C1E #2E6B1E
monochromatic
#0C0718 #1D113B #351E6B #4D2B9B #653BC8

Accessibility & contrast

On white

13.55
#351E6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351E6B
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351E6B#FFFFFF#000000##FFFFFF
##351E6B1.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6D
Deuteranopia (green-blind)
#002C69
Tritanopia (blue-blind)
#243142
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #351e6b;
/* rgb */ color: rgb(53, 30, 107);
/* oklch */ color: oklch(31.5% 0.126 291.1);
Tailwind
colors: {
  custom: {
    50: '#725c96',
    500: '#351e6b',
    950: '#000000',
  },
}
SCSS
$custom: #351e6b;
$custom-light: #725c96;
$custom-dark: #000000;
JSON
{
  "hex": "#351e6b",
  "rgb": {
    "r": 53,
    "g": 30,
    "b": 107
  },
  "hsl": {
    "h": 257.922,
    "s": 56.204,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31533,
    "c": 0.12617,
    "h": 291.1
  },
  "luminance": 0.02747
}

Semantic roles & 50–950 ramp

primary
#351E6B
secondary
#859F45
accent
#DF48B2
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #351E6B

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

Preview Lab → · Contrast checker → · Palette generator →

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