#351A6E#351A6E

#351A6E is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.2% C 0.135 H 291.2°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#351A6E
RGBrgb(53, 26, 110)
HSLhsl(259, 62%, 27%)
HSVhsv(259, 76%, 43%)
CMYKcmyk(51.8%, 76.4%, 0%, 56.9%)
CIE-LABlab(18.46, 34.36, -43.90)
CIE-LCHlch(18.46, 55.75, 308.05°)
OKLaboklab(31.23% 0.0489 -0.126)
OKLCHoklch(31.23% 0.135 291.2)
XYZxyz(4.6513, 2.6213, 15.0097)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351A6E #536E1A
analogous
#1A296E #351A6E #5F1A6E
triadic
#351A6E #6E351A #1A6E35
tetradic
#351A6E #6E1A29 #536E1A #1A6E5F
square
#351A6E #6E1A29 #536E1A #1A6E5F
split-complementary
#351A6E #6E5F1A #296E1A
monochromatic
#0C0619 #1D0E3D #351A6E #4D26A0 #6534CF

Accessibility & contrast

On white

13.78
#351A6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#351A6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351A6E
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351A6E#FFFFFF#000000##FFFFFF
##351A6E1.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E70
Deuteranopia (green-blind)
#002B6C
Tritanopia (blue-blind)
#223042
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #351a6e;
/* rgb */ color: rgb(53, 26, 110);
/* oklch */ color: oklch(31.2% 0.135 291.2);
Tailwind
colors: {
  custom: {
    50: '#735998',
    500: '#351a6e',
    950: '#000000',
  },
}
SCSS
$custom: #351a6e;
$custom-light: #735998;
$custom-dark: #000000;
JSON
{
  "hex": "#351a6e",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 110
  },
  "hsl": {
    "h": 259.286,
    "s": 61.765,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31233,
    "c": 0.13516,
    "h": 291.2
  },
  "luminance": 0.02621
}

Semantic roles & 50–950 ramp

primary
#351A6E
secondary
#83A341
accent
#E543B1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #351A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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