#3C0F6A#3C0F6A

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

Color values

HEX#3C0F6A
RGBrgb(60, 15, 106)
HSLhsl(270, 75%, 24%)
HSVhsv(270, 86%, 42%)
CMYKcmyk(43.4%, 85.8%, 0%, 58.4%)
CIE-LABlab(17.19, 39.60, -43.33)
CIE-LCHlch(17.19, 58.70, 312.43°)
OKLaboklab(30.44% 0.0712 -0.124)
OKLCHoklch(30.44% 0.143 299.9)
XYZxyz(4.6352, 2.3429, 13.8409)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0F6A #3D6A0F
analogous
#0F0F6A #3C0F6A #690F6A
triadic
#3C0F6A #6A3C0F #0F6A3C
tetradic
#3C0F6A #6A0F0F #3D6A0F #0F6A69
square
#3C0F6A #6A0F0F #3D6A0F #0F6A69
split-complementary
#3C0F6A #6A690F #0F6A0F
monochromatic
#0F041B #1E0734 #3C0F6A #5A17A0 #791ED5

Accessibility & contrast

On white

14.30
#3C0F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#3C0F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0F6A
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0F6A#FFFFFF#000000##FFFFFF
##3C0F6A1.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6C
Deuteranopia (green-blind)
#002A68
Tritanopia (blue-blind)
#31293D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3c0f6a;
/* rgb */ color: rgb(60, 15, 106);
/* oklch */ color: oklch(30.4% 0.143 299.9);
Tailwind
colors: {
  custom: {
    50: '#775495',
    500: '#3c0f6a',
    950: '#000000',
  },
}
SCSS
$custom: #3c0f6a;
$custom-light: #775495;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0f6a",
  "rgb": {
    "r": 60,
    "g": 15,
    "b": 106
  },
  "hsl": {
    "h": 269.67,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30436,
    "c": 0.14296,
    "h": 299.9
  },
  "luminance": 0.02343
}

Semantic roles & 50–950 ramp

primary
#3C0F6A
secondary
#6BA232
accent
#F23695
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3C0F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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