#35145A#35145A

#35145A is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.5% C 0.118 H 300.5°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#35145A
RGBrgb(53, 20, 90)
HSLhsl(268, 64%, 22%)
HSVhsv(268, 78%, 35%)
CMYKcmyk(41.1%, 77.8%, 0%, 64.7%)
CIE-LABlab(15.46, 31.73, -35.59)
CIE-LCHlch(15.46, 47.68, 311.72°)
OKLaboklab(28.54% 0.0598 -0.1015)
OKLCHoklch(28.54% 0.118 300.5)
XYZxyz(3.5634, 1.9954, 9.8683)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35145A #395A14
analogous
#14165A #35145A #58145A
triadic
#35145A #5A3514 #145A35
tetradic
#35145A #5A1416 #395A14 #145A58
square
#35145A #5A1416 #395A14 #145A58
split-complementary
#35145A #5A5814 #165A14
monochromatic
#0F0619 #180928 #35145A #521F8C #702ABE

Accessibility & contrast

On white

15.01
#35145A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35145A
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35145A#FFFFFF#000000##FFFFFF
##35145A1.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265C
Deuteranopia (green-blind)
#002659
Tritanopia (blue-blind)
#2D2535
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #35145a;
/* rgb */ color: rgb(53, 20, 90);
/* oklch */ color: oklch(28.5% 0.118 300.5);
Tailwind
colors: {
  custom: {
    50: '#705589',
    500: '#35145a',
    950: '#000000',
  },
}
SCSS
$custom: #35145a;
$custom-light: #705589;
$custom-dark: #000000;
JSON
{
  "hex": "#35145a",
  "rgb": {
    "r": 53,
    "g": 20,
    "b": 90
  },
  "hsl": {
    "h": 268.286,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.28539,
    "c": 0.11786,
    "h": 300.5
  },
  "luminance": 0.01995
}

Semantic roles & 50–950 ramp

primary
#35145A
secondary
#679238
accent
#E74199
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #35145A

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

Preview Lab → · Contrast checker → · Palette generator →

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