#35145E#35145E

#35145E is a dark, vivid violet. Relative luminance 0.021; OKLCH L 28.9% C 0.123 H 298.7°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#35145E
RGBrgb(53, 20, 94)
HSLhsl(267, 65%, 22%)
HSVhsv(267, 79%, 37%)
CMYKcmyk(43.6%, 78.7%, 0%, 63.1%)
CIE-LABlab(15.83, 32.86, -37.68)
CIE-LCHlch(15.83, 49.99, 311.09°)
OKLaboklab(28.91% 0.0589 -0.1077)
OKLCHoklch(28.91% 0.123 298.7)
XYZxyz(3.7382, 2.0653, 10.7892)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35145E #3D5E14
analogous
#14185E #35145E #5A145E
triadic
#35145E #5E3514 #145E35
tetradic
#35145E #5E1418 #3D5E14 #145E5A
square
#35145E #5E1418 #3D5E14 #145E5A
split-complementary
#35145E #5E5A14 #185E14
monochromatic
#0E0519 #19092C #35145E #511F90 #6E29C3

Accessibility & contrast

On white

14.86
#35145E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#35145E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35145E
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35145E#FFFFFF#000000##FFFFFF
##35145E1.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002760
Deuteranopia (green-blind)
#00275D
Tritanopia (blue-blind)
#2B2738
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #35145e;
/* rgb */ color: rgb(53, 20, 94);
/* oklch */ color: oklch(28.9% 0.123 298.7);
Tailwind
colors: {
  custom: {
    50: '#71558c',
    500: '#35145e',
    950: '#000000',
  },
}
SCSS
$custom: #35145e;
$custom-light: #71558c;
$custom-dark: #000000;
JSON
{
  "hex": "#35145e",
  "rgb": {
    "r": 53,
    "g": 20,
    "b": 94
  },
  "hsl": {
    "h": 266.757,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.28909,
    "c": 0.12273,
    "h": 298.7
  },
  "luminance": 0.02065
}

Semantic roles & 50–950 ramp

primary
#35145E
secondary
#6C9638
accent
#E8409D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #35145E

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

Preview Lab → · Contrast checker → · Palette generator →

#35145E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva