#3B1068#3B1068

#3B1068 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.2% C 0.140 H 299.8°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#3B1068
RGBrgb(59, 16, 104)
HSLhsl(269, 73%, 24%)
HSVhsv(269, 85%, 41%)
CMYKcmyk(43.3%, 84.6%, 0%, 59.2%)
CIE-LABlab(16.99, 38.52, -42.36)
CIE-LCHlch(16.99, 57.26, 312.28°)
OKLaboklab(30.2% 0.0695 -0.1212)
OKLCHoklch(30.2% 0.14 299.8)
XYZxyz(4.4870, 2.2998, 13.3015)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1068 #3D6810
analogous
#101168 #3B1068 #671068
triadic
#3B1068 #683B10 #10683B
tetradic
#3B1068 #681011 #3D6810 #106867
square
#3B1068 #681011 #3D6810 #106867
split-complementary
#3B1068 #686710 #116810
monochromatic
#0F041B #1D0833 #3B1068 #59189D #7720D2

Accessibility & contrast

On white

14.38
#3B1068 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#3B1068 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1068
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1068#FFFFFF#000000##FFFFFF
##3B10681.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6A
Deuteranopia (green-blind)
#002966
Tritanopia (blue-blind)
#30293C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3b1068;
/* rgb */ color: rgb(59, 16, 104);
/* oklch */ color: oklch(30.2% 0.140 299.8);
Tailwind
colors: {
  custom: {
    50: '#765494',
    500: '#3b1068',
    950: '#000000',
  },
}
SCSS
$custom: #3b1068;
$custom-light: #765494;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1068",
  "rgb": {
    "r": 59,
    "g": 16,
    "b": 104
  },
  "hsl": {
    "h": 269.318,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30203,
    "c": 0.13966,
    "h": 299.8
  },
  "luminance": 0.023
}

Semantic roles & 50–950 ramp

primary
#3B1068
secondary
#6BA034
accent
#F03896
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3B1068

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

Preview Lab → · Contrast checker → · Palette generator →

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