#351B68#351B68

#351B68 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.8% C 0.126 H 293.0°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#351B68
RGBrgb(53, 27, 104)
HSLhsl(260, 59%, 26%)
HSVhsv(260, 74%, 41%)
CMYKcmyk(49%, 74%, 0%, 59.2%)
CIE-LABlab(18.10, 31.98, -40.58)
CIE-LCHlch(18.10, 51.67, 308.24°)
OKLaboklab(30.81% 0.0492 -0.1162)
OKLCHoklch(30.81% 0.126 293)
XYZxyz(4.3581, 2.5401, 13.3547)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351B68 #4E681B
analogous
#1B2768 #351B68 #5B1B68
triadic
#351B68 #68351B #1B6835
tetradic
#351B68 #681B27 #4E681B #1B685B
square
#351B68 #681B27 #4E681B #1B685B
split-complementary
#351B68 #685B1B #27681B
monochromatic
#0C0618 #1C0E37 #351B68 #4E2899 #6734C9

Accessibility & contrast

On white

13.93
#351B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351B68
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351B68#FFFFFF#000000##FFFFFF
##351B681.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6A
Deuteranopia (green-blind)
#002B66
Tritanopia (blue-blind)
#262E3F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #351b68;
/* rgb */ color: rgb(53, 27, 104);
/* oklch */ color: oklch(30.8% 0.126 293.0);
Tailwind
colors: {
  custom: {
    50: '#725a94',
    500: '#351b68',
    950: '#000000',
  },
}
SCSS
$custom: #351b68;
$custom-light: #725a94;
$custom-dark: #000000;
JSON
{
  "hex": "#351b68",
  "rgb": {
    "r": 53,
    "g": 27,
    "b": 104
  },
  "hsl": {
    "h": 260.26,
    "s": 58.779,
    "l": 25.686
  },
  "oklch": {
    "l": 0.30805,
    "c": 0.12625,
    "h": 293
  },
  "luminance": 0.0254
}

Semantic roles & 50–950 ramp

primary
#351B68
secondary
#7E9D42
accent
#E246AD
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #351B68

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

Preview Lab → · Contrast checker → · Palette generator →

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