#351A68#351A68

#351A68 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.7% C 0.128 H 293.2°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#351A68
RGBrgb(53, 26, 104)
HSLhsl(261, 60%, 25%)
HSVhsv(261, 75%, 41%)
CMYKcmyk(49%, 75%, 0%, 59.2%)
CIE-LABlab(17.90, 32.55, -40.91)
CIE-LCHlch(17.90, 52.28, 308.51°)
OKLaboklab(30.66% 0.0503 -0.1172)
OKLCHoklch(30.66% 0.128 293.2)
XYZxyz(4.3356, 2.4950, 13.3472)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351A68 #4D681A
analogous
#1A2668 #351A68 #5C1A68
triadic
#351A68 #68351A #1A6835
tetradic
#351A68 #681A26 #4D681A #1A685C
square
#351A68 #681A26 #4D681A #1A685C
split-complementary
#351A68 #685C1A #26681A
monochromatic
#0C0618 #1C0E37 #351A68 #4E2699 #6732CA

Accessibility & contrast

On white

14.01
#351A68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351A68
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351A68#FFFFFF#000000##FFFFFF
##351A681.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351a68;
/* rgb */ color: rgb(53, 26, 104);
/* oklch */ color: oklch(30.7% 0.128 293.2);
Tailwind
colors: {
  custom: {
    50: '#725994',
    500: '#351a68',
    950: '#000000',
  },
}
SCSS
$custom: #351a68;
$custom-light: #725994;
$custom-dark: #000000;
JSON
{
  "hex": "#351a68",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 104
  },
  "hsl": {
    "h": 260.769,
    "s": 60,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30661,
    "c": 0.12754,
    "h": 293.2
  },
  "luminance": 0.02495
}

Semantic roles & 50–950 ramp

primary
#351A68
secondary
#7D9D40
accent
#E345AC
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #351A68

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

Preview Lab → · Contrast checker → · Palette generator →

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