#2C0F3D#2C0F3D

#2C0F3D is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.0% C 0.087 H 310.5°. Best body text is #FFFFFF at 16.90:1 contrast (WCAG AA passes).

Color values

HEX#2C0F3D
RGBrgb(44, 15, 61)
HSLhsl(278, 61%, 15%)
HSVhsv(278, 75%, 24%)
CMYKcmyk(27.9%, 75.4%, 0%, 76.1%)
CIE-LABlab(10.66, 24.30, -23.39)
CIE-LCHlch(10.66, 33.73, 316.10°)
OKLaboklab(24.04% 0.0563 -0.066)
OKLCHoklch(24.04% 0.087 310.5)
XYZxyz(2.0517, 1.2141, 4.5402)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0F3D #203D0F
analogous
#150F3D #2C0F3D #3D0F37
triadic
#2C0F3D #3D2C0F #0F3D2C
tetradic
#2C0F3D #3D150F #203D0F #0F373D
square
#2C0F3D #3D150F #203D0F #0F373D
split-complementary
#2C0F3D #373D0F #0F3D15
monochromatic
#120619 #120619 #2C0F3D #4F1B6E #73279F

Accessibility & contrast

On white

16.90
#2C0F3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2C0F3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0F3D
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0F3D#FFFFFF#000000##FFFFFF
##2C0F3D1.0016.901.2416.90
#FFFFFF16.901.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3E
Deuteranopia (green-blind)
#091D3C
Tritanopia (blue-blind)
#2A1824
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2c0f3d;
/* rgb */ color: rgb(44, 15, 61);
/* oklch */ color: oklch(24.0% 0.087 310.5);
Tailwind
colors: {
  custom: {
    50: '#675073',
    500: '#2c0f3d',
    950: '#000000',
  },
}
SCSS
$custom: #2c0f3d;
$custom-light: #675073;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0f3d",
  "rgb": {
    "r": 44,
    "g": 15,
    "b": 61
  },
  "hsl": {
    "h": 277.826,
    "s": 60.526,
    "l": 14.902
  },
  "oklch": {
    "l": 0.24043,
    "c": 0.08677,
    "h": 310.5
  },
  "luminance": 0.01214
}

Semantic roles & 50–950 ramp

primary
#2C0F3D
secondary
#4B7730
accent
#E4447F
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2C0F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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