#35145B#35145B

#35145B is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.6% C 0.119 H 300.0°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#35145B
RGBrgb(53, 20, 91)
HSLhsl(268, 64%, 22%)
HSVhsv(268, 78%, 36%)
CMYKcmyk(41.8%, 78%, 0%, 64.3%)
CIE-LABlab(15.55, 32.01, -36.12)
CIE-LCHlch(15.55, 48.26, 311.55°)
OKLaboklab(28.63% 0.0596 -0.1031)
OKLCHoklch(28.63% 0.119 300)
XYZxyz(3.6062, 2.0125, 10.0940)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35145B #3A5B14
analogous
#14175B #35145B #59145B
triadic
#35145B #5B3514 #145B35
tetradic
#35145B #5B1417 #3A5B14 #145B59
square
#35145B #5B1417 #3A5B14 #145B59
split-complementary
#35145B #5B5914 #175B14
monochromatic
#0F0619 #180929 #35145B #521F8D #6F2ABF

Accessibility & contrast

On white

14.97
#35145B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#35145B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35145B
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35145B#FFFFFF#000000##FFFFFF
##35145B1.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275D
Deuteranopia (green-blind)
#00265A
Tritanopia (blue-blind)
#2C2636
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #35145b;
/* rgb */ color: rgb(53, 20, 91);
/* oklch */ color: oklch(28.6% 0.119 300.0);
Tailwind
colors: {
  custom: {
    50: '#70558a',
    500: '#35145b',
    950: '#000000',
  },
}
SCSS
$custom: #35145b;
$custom-light: #70558a;
$custom-dark: #000000;
JSON
{
  "hex": "#35145b",
  "rgb": {
    "r": 53,
    "g": 20,
    "b": 91
  },
  "hsl": {
    "h": 267.887,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.28631,
    "c": 0.11909,
    "h": 300
  },
  "luminance": 0.02013
}

Semantic roles & 50–950 ramp

primary
#35145B
secondary
#699338
accent
#E7419A
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #35145B

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

Preview Lab → · Contrast checker → · Palette generator →

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