#351B64#351B64

#351B64 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.4% C 0.121 H 294.4°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#351B64
RGBrgb(53, 27, 100)
HSLhsl(261, 57%, 25%)
HSVhsv(261, 73%, 39%)
CMYKcmyk(47%, 73%, 0%, 60.8%)
CIE-LABlab(17.74, 30.77, -38.54)
CIE-LCHlch(17.74, 49.31, 308.61°)
OKLaboklab(30.44% 0.05 -0.1102)
OKLCHoklch(30.44% 0.121 294.4)
XYZxyz(4.1598, 2.4607, 12.3099)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351B64 #4A641B
analogous
#1B2664 #351B64 #5A1B64
triadic
#351B64 #64351B #1B6435
tetradic
#351B64 #641B26 #4A641B #1B645A
square
#351B64 #641B26 #4A641B #1B645A
split-complementary
#351B64 #645A1B #26641B
monochromatic
#0D0718 #1B0E34 #351B64 #4F2894 #6835C4

Accessibility & contrast

On white

14.07
#351B64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#351B64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351B64
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351B64#FFFFFF#000000##FFFFFF
##351B641.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C66
Deuteranopia (green-blind)
#002A63
Tritanopia (blue-blind)
#282D3D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #351b64;
/* rgb */ color: rgb(53, 27, 100);
/* oklch */ color: oklch(30.4% 0.121 294.4);
Tailwind
colors: {
  custom: {
    50: '#715991',
    500: '#351b64',
    950: '#000000',
  },
}
SCSS
$custom: #351b64;
$custom-light: #715991;
$custom-dark: #000000;
JSON
{
  "hex": "#351b64",
  "rgb": {
    "r": 53,
    "g": 27,
    "b": 100
  },
  "hsl": {
    "h": 261.37,
    "s": 57.48,
    "l": 24.902
  },
  "oklch": {
    "l": 0.30438,
    "c": 0.12105,
    "h": 294.4
  },
  "luminance": 0.02461
}

Semantic roles & 50–950 ramp

primary
#351B64
secondary
#7A9941
accent
#E147AA
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #351B64

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

Preview Lab → · Contrast checker → · Palette generator →

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