#3A0E5C#3A0E5C

#3A0E5C is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.7% C 0.128 H 304.8°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#3A0E5C
RGBrgb(58, 14, 92)
HSLhsl(274, 74%, 21%)
HSVhsv(274, 85%, 36%)
CMYKcmyk(37%, 84.8%, 0%, 63.9%)
CIE-LABlab(15.42, 36.06, -36.98)
CIE-LCHlch(15.42, 51.65, 314.28°)
OKLaboklab(28.72% 0.0734 -0.1054)
OKLCHoklch(28.72% 0.128 304.8)
XYZxyz(3.8333, 1.9863, 10.3046)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0E5C #305C0E
analogous
#130E5C #3A0E5C #5C0E57
triadic
#3A0E5C #5C3A0E #0E5C3A
tetradic
#3A0E5C #5C130E #305C0E #0E575C
square
#3A0E5C #5C130E #305C0E #0E575C
split-complementary
#3A0E5C #575C0E #0E5C13
monochromatic
#11041B #190627 #3A0E5C #5B1691 #7D1EC6

Accessibility & contrast

On white

15.03
#3A0E5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#3A0E5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0E5C
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0E5C#FFFFFF#000000##FFFFFF
##3A0E5C1.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255E
Deuteranopia (green-blind)
#00275A
Tritanopia (blue-blind)
#332335
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3a0e5c;
/* rgb */ color: rgb(58, 14, 92);
/* oklch */ color: oklch(28.7% 0.128 304.8);
Tailwind
colors: {
  custom: {
    50: '#74538b',
    500: '#3a0e5c',
    950: '#000000',
  },
}
SCSS
$custom: #3a0e5c;
$custom-light: #74538b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0e5c",
  "rgb": {
    "r": 58,
    "g": 14,
    "b": 92
  },
  "hsl": {
    "h": 273.846,
    "s": 73.585,
    "l": 20.784
  },
  "oklch": {
    "l": 0.28724,
    "c": 0.12841,
    "h": 304.8
  },
  "luminance": 0.01986
}

Semantic roles & 50–950 ramp

primary
#3A0E5C
secondary
#5C9630
accent
#F03888
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3A0E5C

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

Preview Lab → · Contrast checker → · Palette generator →

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