#3A2695#3A2695

#3A2695 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.2% C 0.170 H 282.6°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#3A2695
RGBrgb(58, 38, 149)
HSLhsl(251, 59%, 37%)
HSVhsv(251, 74%, 58%)
CMYKcmyk(61.1%, 74.5%, 0%, 41.6%)
CIE-LABlab(25.12, 40.60, -57.59)
CIE-LCHlch(25.12, 70.46, 305.18°)
OKLaboklab(37.23% 0.037 -0.166)
OKLCHoklch(37.23% 0.17 282.6)
XYZxyz(7.8612, 4.4552, 28.8736)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2695 #819526
analogous
#264A95 #3A2695 #722695
triadic
#3A2695 #953A26 #26953A
tetradic
#3A2695 #95264A #819526 #269572
square
#3A2695 #95264A #819526 #269572
split-complementary
#3A2695 #957226 #4A9526
monochromatic
#140D33 #271A64 #3A2695 #4D32C6 #755FD6

Accessibility & contrast

On white

11.10
#3A2695 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#3A2695 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2695
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2695#FFFFFF#000000##FFFFFF
##3A26951.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003893
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3a2695;
/* rgb */ color: rgb(58, 38, 149);
/* oklch */ color: oklch(37.2% 0.170 282.6);
Tailwind
colors: {
  custom: {
    50: '#7c63b5',
    500: '#3a2695',
    950: '#000000',
  },
}
SCSS
$custom: #3a2695;
$custom-light: #7c63b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2695",
  "rgb": {
    "r": 58,
    "g": 38,
    "b": 149
  },
  "hsl": {
    "h": 250.811,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.3723,
    "c": 0.17008,
    "h": 282.6
  },
  "luminance": 0.04456
}

Semantic roles & 50–950 ramp

primary
#3A2695
secondary
#AABB5B
accent
#E345C6
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #3A2695

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

Preview Lab → · Contrast checker → · Palette generator →

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