#351B66#351B66

#351B66 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.6% C 0.124 H 293.7°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#351B66
RGBrgb(53, 27, 102)
HSLhsl(261, 58%, 25%)
HSVhsv(261, 74%, 40%)
CMYKcmyk(48%, 73.5%, 0%, 60%)
CIE-LABlab(17.92, 31.38, -39.56)
CIE-LCHlch(17.92, 50.49, 308.42°)
OKLaboklab(30.62% 0.0496 -0.1133)
OKLCHoklch(30.62% 0.124 293.7)
XYZxyz(4.2577, 2.4999, 12.8260)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351B66 #4C661B
analogous
#1B2666 #351B66 #5A1B66
triadic
#351B66 #66351B #1B6635
tetradic
#351B66 #661B26 #4C661B #1B665A
square
#351B66 #661B26 #4C661B #1B665A
split-complementary
#351B66 #665A1B #26661B
monochromatic
#0D0618 #1C0E36 #351B66 #4E2896 #6735C7

Accessibility & contrast

On white

14.00
#351B66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#351B66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351B66
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351B66#FFFFFF#000000##FFFFFF
##351B661.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D68
Deuteranopia (green-blind)
#002A65
Tritanopia (blue-blind)
#272E3E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #351b66;
/* rgb */ color: rgb(53, 27, 102);
/* oklch */ color: oklch(30.6% 0.124 293.7);
Tailwind
colors: {
  custom: {
    50: '#715a92',
    500: '#351b66',
    950: '#000000',
  },
}
SCSS
$custom: #351b66;
$custom-light: #715a92;
$custom-dark: #000000;
JSON
{
  "hex": "#351b66",
  "rgb": {
    "r": 53,
    "g": 27,
    "b": 102
  },
  "hsl": {
    "h": 260.8,
    "s": 58.14,
    "l": 25.294
  },
  "oklch": {
    "l": 0.3062,
    "c": 0.12366,
    "h": 293.7
  },
  "luminance": 0.025
}

Semantic roles & 50–950 ramp

primary
#351B66
secondary
#7C9B41
accent
#E146AC
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #351B66

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

Preview Lab → · Contrast checker → · Palette generator →

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