#35155A#35155A

#35155A is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.7% C 0.117 H 300.3°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#35155A
RGBrgb(53, 21, 90)
HSLhsl(268, 62%, 22%)
HSVhsv(268, 77%, 35%)
CMYKcmyk(41.1%, 76.7%, 0%, 64.7%)
CIE-LABlab(15.65, 31.20, -35.28)
CIE-LCHlch(15.65, 47.10, 311.48°)
OKLaboklab(28.67% 0.0587 -0.1007)
OKLCHoklch(28.67% 0.117 300.3)
XYZxyz(3.5814, 2.0314, 9.8743)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35155A #3A5A15
analogous
#15185A #35155A #58155A
triadic
#35155A #5A3515 #155A35
tetradic
#35155A #5A1518 #3A5A15 #155A58
square
#35155A #5A1518 #3A5A15 #155A58
split-complementary
#35155A #5A5815 #185A15
monochromatic
#0F0619 #180928 #35155A #52218C #6F2CBD

Accessibility & contrast

On white

14.93
#35155A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#35155A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35155A
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35155A#FFFFFF#000000##FFFFFF
##35155A1.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275C
Deuteranopia (green-blind)
#002759
Tritanopia (blue-blind)
#2D2636
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #35155a;
/* rgb */ color: rgb(53, 21, 90);
/* oklch */ color: oklch(28.7% 0.117 300.3);
Tailwind
colors: {
  custom: {
    50: '#705589',
    500: '#35155a',
    950: '#000000',
  },
}
SCSS
$custom: #35155a;
$custom-light: #705589;
$custom-dark: #000000;
JSON
{
  "hex": "#35155a",
  "rgb": {
    "r": 53,
    "g": 21,
    "b": 90
  },
  "hsl": {
    "h": 267.826,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.28673,
    "c": 0.11654,
    "h": 300.3
  },
  "luminance": 0.02031
}

Semantic roles & 50–950 ramp

primary
#35155A
secondary
#699239
accent
#E5439A
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #35155A

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

Preview Lab → · Contrast checker → · Palette generator →

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