#3A1675#3A1675

#3A1675 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.0% C 0.148 H 293.3°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#3A1675
RGBrgb(58, 22, 117)
HSLhsl(263, 68%, 27%)
HSVhsv(263, 81%, 46%)
CMYKcmyk(50.4%, 81.2%, 0%, 54.1%)
CIE-LABlab(19.05, 39.26, -47.44)
CIE-LCHlch(19.05, 61.58, 309.61°)
OKLaboklab(32% 0.0586 -0.1362)
OKLCHoklch(32% 0.148 293.3)
XYZxyz(5.2418, 2.7575, 17.0822)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1675 #517516
analogous
#162275 #3A1675 #6A1675
triadic
#3A1675 #753A16 #16753A
tetradic
#3A1675 #751622 #517516 #16756A
square
#3A1675 #751622 #517516 #16756A
split-complementary
#3A1675 #756A16 #227516
monochromatic
#0D051A #200C41 #3A1675 #5420A9 #6E2ED8

Accessibility & contrast

On white

13.53
#3A1675 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#3A1675 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A1675
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1675#FFFFFF#000000##FFFFFF
##3A16751.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F78
Deuteranopia (green-blind)
#002C73
Tritanopia (blue-blind)
#273145
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3a1675;
/* rgb */ color: rgb(58, 22, 117);
/* oklch */ color: oklch(32.0% 0.148 293.3);
Tailwind
colors: {
  custom: {
    50: '#77589e',
    500: '#3a1675',
    950: '#000000',
  },
}
SCSS
$custom: #3a1675;
$custom-light: #77589e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1675",
  "rgb": {
    "r": 58,
    "g": 22,
    "b": 117
  },
  "hsl": {
    "h": 262.737,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31996,
    "c": 0.14824,
    "h": 293.3
  },
  "luminance": 0.02758
}

Semantic roles & 50–950 ramp

primary
#3A1675
secondary
#81AB3C
accent
#EB3DA9
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #3A1675

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

Preview Lab → · Contrast checker → · Palette generator →

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