#35137C#35137C

#35137C is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.8% C 0.159 H 288.3°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#35137C
RGBrgb(53, 19, 124)
HSLhsl(259, 73%, 28%)
HSVhsv(259, 85%, 49%)
CMYKcmyk(57.3%, 84.7%, 0%, 51.4%)
CIE-LABlab(18.70, 41.89, -52.51)
CIE-LCHlch(18.70, 67.18, 308.58°)
OKLaboklab(31.84% 0.05 -0.1511)
OKLCHoklch(31.84% 0.159 288.3)
XYZxyz(5.3381, 2.6776, 19.3004)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35137C #5A7C13
analogous
#13257C #35137C #6A137C
triadic
#35137C #7C3513 #137C35
tetradic
#35137C #7C1325 #5A7C13 #137C6A
square
#35137C #7C1325 #5A7C13 #137C6A
split-complementary
#35137C #7C6A13 #257C13
monochromatic
#0B041B #1E0B47 #35137C #4C1BB1 #652BDF

Accessibility & contrast

On white

13.68
#35137C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#35137C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35137C
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35137C#FFFFFF#000000##FFFFFF
##35137C1.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307F
Deuteranopia (green-blind)
#002B7A
Tritanopia (blue-blind)
#163349
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #35137c;
/* rgb */ color: rgb(53, 19, 124);
/* oklch */ color: oklch(31.8% 0.159 288.3);
Tailwind
colors: {
  custom: {
    50: '#7657a3',
    500: '#35137c',
    950: '#000000',
  },
}
SCSS
$custom: #35137c;
$custom-light: #7657a3;
$custom-dark: #000000;
JSON
{
  "hex": "#35137c",
  "rgb": {
    "r": 53,
    "g": 19,
    "b": 124
  },
  "hsl": {
    "h": 259.429,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31839,
    "c": 0.1592,
    "h": 288.3
  },
  "luminance": 0.02678
}

Semantic roles & 50–950 ramp

primary
#35137C
secondary
#8BB239
accent
#F038B4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #35137C

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

Preview Lab → · Contrast checker → · Palette generator →

#35137C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva