#35145F#35145F

#35145F is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.0% C 0.124 H 298.2°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#35145F
RGBrgb(53, 20, 95)
HSLhsl(266, 65%, 23%)
HSVhsv(266, 79%, 37%)
CMYKcmyk(44.2%, 78.9%, 0%, 62.7%)
CIE-LABlab(15.92, 33.14, -38.19)
CIE-LCHlch(15.92, 50.56, 310.95°)
OKLaboklab(29% 0.0586 -0.1092)
OKLCHoklch(29% 0.124 298.2)
XYZxyz(3.7834, 2.0834, 11.0271)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35145F #3E5F14
analogous
#14195F #35145F #5A145F
triadic
#35145F #5F3514 #145F35
tetradic
#35145F #5F1419 #3E5F14 #145F5A
square
#35145F #5F1419 #3E5F14 #145F5A
split-complementary
#35145F #5F5A14 #195F14
monochromatic
#0E0519 #19092C #35145F #511F92 #6D29C4

Accessibility & contrast

On white

14.82
#35145F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#35145F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35145F
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35145F#FFFFFF#000000##FFFFFF
##35145F1.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002861
Deuteranopia (green-blind)
#00275E
Tritanopia (blue-blind)
#2B2738
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #35145f;
/* rgb */ color: rgb(53, 20, 95);
/* oklch */ color: oklch(29.0% 0.124 298.2);
Tailwind
colors: {
  custom: {
    50: '#71558d',
    500: '#35145f',
    950: '#000000',
  },
}
SCSS
$custom: #35145f;
$custom-light: #71558d;
$custom-dark: #000000;
JSON
{
  "hex": "#35145f",
  "rgb": {
    "r": 53,
    "g": 20,
    "b": 95
  },
  "hsl": {
    "h": 266.4,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.29003,
    "c": 0.12394,
    "h": 298.2
  },
  "luminance": 0.02083
}

Semantic roles & 50–950 ramp

primary
#35145F
secondary
#6D9738
accent
#E8409E
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #35145F

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

Preview Lab → · Contrast checker → · Palette generator →

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