#2C0F41#2C0F41

#2C0F41 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.4% C 0.092 H 307.5°. Best body text is #FFFFFF at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#2C0F41
RGBrgb(44, 15, 65)
HSLhsl(275, 63%, 16%)
HSVhsv(275, 77%, 25%)
CMYKcmyk(32.3%, 76.9%, 0%, 74.5%)
CIE-LABlab(10.98, 25.39, -25.71)
CIE-LCHlch(10.98, 36.13, 314.65°)
OKLaboklab(24.38% 0.0559 -0.0728)
OKLCHoklch(24.38% 0.092 307.5)
XYZxyz(2.1635, 1.2588, 5.1290)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0F41 #24410F
analogous
#130F41 #2C0F41 #410F3D
triadic
#2C0F41 #412C0F #0F412C
tetradic
#2C0F41 #41130F #24410F #0F3D41
square
#2C0F41 #41130F #24410F #0F3D41
split-complementary
#2C0F41 #3D410F #0F4113
monochromatic
#110619 #110619 #2C0F41 #4E1A73 #6F26A4

Accessibility & contrast

On white

16.78
#2C0F41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#2C0F41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0F41
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0F41#FFFFFF#000000##FFFFFF
##2C0F411.0016.781.2516.78
#FFFFFF16.781.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C42
Deuteranopia (green-blind)
#041E40
Tritanopia (blue-blind)
#291A26
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2c0f41;
/* rgb */ color: rgb(44, 15, 65);
/* oklch */ color: oklch(24.4% 0.092 307.5);
Tailwind
colors: {
  custom: {
    50: '#685076',
    500: '#2c0f41',
    950: '#000000',
  },
}
SCSS
$custom: #2c0f41;
$custom-light: #685076;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0f41",
  "rgb": {
    "r": 44,
    "g": 15,
    "b": 65
  },
  "hsl": {
    "h": 274.8,
    "s": 62.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.24378,
    "c": 0.0918,
    "h": 307.5
  },
  "luminance": 0.01259
}

Semantic roles & 50–950 ramp

primary
#2C0F41
secondary
#507B30
accent
#E64287
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2C0F41

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

Preview Lab → · Contrast checker → · Palette generator →

#2C0F41 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva