#3A1763#3A1763

#3A1763 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.4% C 0.126 H 299.9°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#3A1763
RGBrgb(58, 23, 99)
HSLhsl(268, 62%, 24%)
HSVhsv(268, 77%, 39%)
CMYKcmyk(41.4%, 76.8%, 0%, 61.2%)
CIE-LABlab(17.52, 33.71, -38.20)
CIE-LCHlch(17.52, 50.95, 311.43°)
OKLaboklab(30.4% 0.0626 -0.109)
OKLCHoklch(30.4% 0.126 299.9)
XYZxyz(4.3029, 2.4131, 12.0410)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1763 #406317
analogous
#171A63 #3A1763 #601763
triadic
#3A1763 #633A17 #17633A
tetradic
#3A1763 #63171A #406317 #176360
square
#3A1763 #63171A #406317 #176360
split-complementary
#3A1763 #636017 #1A6317
monochromatic
#0F0619 #1D0B31 #3A1763 #572395 #742EC6

Accessibility & contrast

On white

14.16
#3A1763 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#3A1763 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A1763
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1763#FFFFFF#000000##FFFFFF
##3A17631.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B65
Deuteranopia (green-blind)
#002A61
Tritanopia (blue-blind)
#312A3B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3a1763;
/* rgb */ color: rgb(58, 23, 99);
/* oklch */ color: oklch(30.4% 0.126 299.9);
Tailwind
colors: {
  custom: {
    50: '#755890',
    500: '#3a1763',
    950: '#000000',
  },
}
SCSS
$custom: #3a1763;
$custom-light: #755890;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1763",
  "rgb": {
    "r": 58,
    "g": 23,
    "b": 99
  },
  "hsl": {
    "h": 267.632,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30402,
    "c": 0.12575,
    "h": 299.9
  },
  "luminance": 0.02413
}

Semantic roles & 50–950 ramp

primary
#3A1763
secondary
#6F9A3C
accent
#E5429A
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3A1763

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

Preview Lab → · Contrast checker → · Palette generator →

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