#351E67#351E67

#351E67 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.2% C 0.121 H 292.4°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#351E67
RGBrgb(53, 30, 103)
HSLhsl(259, 55%, 26%)
HSVhsv(259, 71%, 40%)
CMYKcmyk(48.5%, 70.9%, 0%, 59.6%)
CIE-LABlab(18.65, 29.92, -39.03)
CIE-LCHlch(18.65, 49.18, 307.47°)
OKLaboklab(31.17% 0.0461 -0.1117)
OKLCHoklch(31.17% 0.121 292.4)
XYZxyz(4.3800, 2.6646, 13.1129)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351E67 #50671E
analogous
#1E2B67 #351E67 #591E67
triadic
#351E67 #67351E #1E6735
tetradic
#351E67 #671E2B #50671E #1E6759
square
#351E67 #671E2B #50671E #1E6759
split-complementary
#351E67 #67591E #2B671E
monochromatic
#0C0718 #1D1038 #351E67 #4D2C96 #663AC6

Accessibility & contrast

On white

13.70
#351E67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#351E67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351E67
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351E67#FFFFFF#000000##FFFFFF
##351E671.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E69
Deuteranopia (green-blind)
#002C66
Tritanopia (blue-blind)
#26303F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #351e67;
/* rgb */ color: rgb(53, 30, 103);
/* oklch */ color: oklch(31.2% 0.121 292.4);
Tailwind
colors: {
  custom: {
    50: '#715b93',
    500: '#351e67',
    950: '#000000',
  },
}
SCSS
$custom: #351e67;
$custom-light: #715b93;
$custom-dark: #000000;
JSON
{
  "hex": "#351e67",
  "rgb": {
    "r": 53,
    "g": 30,
    "b": 103
  },
  "hsl": {
    "h": 258.904,
    "s": 54.887,
    "l": 26.078
  },
  "oklch": {
    "l": 0.3117,
    "c": 0.12086,
    "h": 292.4
  },
  "luminance": 0.02665
}

Semantic roles & 50–950 ramp

primary
#351E67
secondary
#809C45
accent
#DE4AAF
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #351E67

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

Preview Lab → · Contrast checker → · Palette generator →

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