#3A35C6#3A35C6

#3A35C6 is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.3% C 0.215 H 274.6°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#3A35C6
RGBrgb(58, 53, 198)
HSLhsl(242, 58%, 49%)
HSVhsv(242, 73%, 78%)
CMYKcmyk(70.7%, 73.2%, 0%, 22.4%)
CIE-LABlab(32.97, 47.92, -74.05)
CIE-LCHlch(32.97, 88.20, 302.91°)
OKLaboklab(44.26% 0.0174 -0.2141)
OKLCHoklch(44.26% 0.215 274.6)
XYZxyz(13.2077, 7.5217, 54.1709)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A35C6 #C1C635
analogous
#3579C6 #3A35C6 #8335C6
triadic
#3A35C6 #C63A35 #35C63A
tetradic
#3A35C6 #C63579 #C1C635 #35C683
square
#3A35C6 #C63579 #C1C635 #35C683
split-complementary
#3A35C6 #C68335 #79C635
monochromatic
#1E1B65 #2C2896 #3A35C6 #6763D5 #9693E2

Accessibility & contrast

On white

8.38
#3A35C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#3A35C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A35C6
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A35C6#FFFFFF#000000##FFFFFF
##3A35C61.008.382.508.38
#FFFFFF8.381.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CA
Deuteranopia (green-blind)
#0047C3
Tritanopia (blue-blind)
#005E7B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3a35c6;
/* rgb */ color: rgb(58, 53, 198);
/* oklch */ color: oklch(44.3% 0.215 274.6);
Tailwind
colors: {
  custom: {
    50: '#846ed9',
    500: '#3a35c6',
    950: '#000000',
  },
}
SCSS
$custom: #3a35c6;
$custom-light: #846ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a35c6",
  "rgb": {
    "r": 58,
    "g": 53,
    "b": 198
  },
  "hsl": {
    "h": 242.069,
    "s": 57.769,
    "l": 49.216
  },
  "oklch": {
    "l": 0.4426,
    "c": 0.21483,
    "h": 274.6
  },
  "luminance": 0.07523
}

Semantic roles & 50–950 ramp

primary
#3A35C6
secondary
#CBCD8A
accent
#E147DC
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0D0715
muted
#7D7A83

Preview Lab

Preview with #3A35C6

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

Preview Lab → · Contrast checker → · Palette generator →

#3A35C6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva