#35107E#35107E

#35107E is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.8% C 0.164 H 288.1°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#35107E
RGBrgb(53, 16, 126)
HSLhsl(260, 77%, 28%)
HSVhsv(260, 87%, 49%)
CMYKcmyk(57.9%, 87.3%, 0%, 50.6%)
CIE-LABlab(18.51, 43.67, -54.11)
CIE-LCHlch(18.51, 69.53, 308.91°)
OKLaboklab(31.77% 0.051 -0.1557)
OKLCHoklch(31.77% 0.164 288.1)
XYZxyz(5.4183, 2.6335, 19.9574)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35107E #597E10
analogous
#10227E #35107E #6C107E
triadic
#35107E #7E3510 #107E35
tetradic
#35107E #7E1022 #597E10 #107E6C
square
#35107E #7E1022 #597E10 #107E6C
split-complementary
#35107E #7E6C10 #227E10
monochromatic
#0B031B #1E0948 #35107E #4C17B4 #6525E3

Accessibility & contrast

On white

13.75
#35107E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#35107E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35107E
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35107E#FFFFFF#000000##FFFFFF
##35107E1.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F81
Deuteranopia (green-blind)
#002A7C
Tritanopia (blue-blind)
#143349
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #35107e;
/* rgb */ color: rgb(53, 16, 126);
/* oklch */ color: oklch(31.8% 0.164 288.1);
Tailwind
colors: {
  custom: {
    50: '#7655a5',
    500: '#35107e',
    950: '#000000',
  },
}
SCSS
$custom: #35107e;
$custom-light: #7655a5;
$custom-dark: #000000;
JSON
{
  "hex": "#35107e",
  "rgb": {
    "r": 53,
    "g": 16,
    "b": 126
  },
  "hsl": {
    "h": 260.182,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.31773,
    "c": 0.16388,
    "h": 288.1
  },
  "luminance": 0.02634
}

Semantic roles & 50–950 ramp

primary
#35107E
secondary
#8AB436
accent
#F434B3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A030F
muted
#7C787F

Preview Lab

Preview with #35107E

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

Preview Lab → · Contrast checker → · Palette generator →

#35107E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva