#351A6B#351A6B

#351A6B is a dark, vivid violet. Relative luminance 0.026; OKLCH L 30.9% C 0.131 H 292.2°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#351A6B
RGBrgb(53, 26, 107)
HSLhsl(260, 61%, 26%)
HSVhsv(260, 76%, 42%)
CMYKcmyk(50.5%, 75.7%, 0%, 58%)
CIE-LABlab(18.17, 33.45, -42.42)
CIE-LCHlch(18.17, 54.02, 308.26°)
OKLaboklab(30.95% 0.0496 -0.1216)
OKLCHoklch(30.95% 0.131 292.2)
XYZxyz(4.4907, 2.5571, 14.1640)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351A6B #506B1A
analogous
#1A276B #351A6B #5D1A6B
triadic
#351A6B #6B351A #1A6B35
tetradic
#351A6B #6B1A27 #506B1A #1A6B5D
square
#351A6B #6B1A27 #506B1A #1A6B5D
split-complementary
#351A6B #6B5D1A #276B1A
monochromatic
#0C0619 #1D0E3A #351A6B #4D269C #6632CD

Accessibility & contrast

On white

13.89
#351A6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#351A6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351A6B
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351A6B#FFFFFF#000000##FFFFFF
##351A6B1.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6D
Deuteranopia (green-blind)
#002B69
Tritanopia (blue-blind)
#242F40
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #351a6b;
/* rgb */ color: rgb(53, 26, 107);
/* oklch */ color: oklch(30.9% 0.131 292.2);
Tailwind
colors: {
  custom: {
    50: '#725996',
    500: '#351a6b',
    950: '#000000',
  },
}
SCSS
$custom: #351a6b;
$custom-light: #725996;
$custom-dark: #000000;
JSON
{
  "hex": "#351a6b",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 107
  },
  "hsl": {
    "h": 260,
    "s": 60.902,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30945,
    "c": 0.13136,
    "h": 292.2
  },
  "luminance": 0.02557
}

Semantic roles & 50–950 ramp

primary
#351A6B
secondary
#80A040
accent
#E444AF
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #351A6B

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

Preview Lab → · Contrast checker → · Palette generator →

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