#2C0F3F#2C0F3F

#2C0F3F is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.2% C 0.089 H 308.9°. Best body text is #FFFFFF at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#2C0F3F
RGBrgb(44, 15, 63)
HSLhsl(276, 62%, 15%)
HSVhsv(276, 76%, 25%)
CMYKcmyk(30.2%, 76.2%, 0%, 75.3%)
CIE-LABlab(10.82, 24.84, -24.55)
CIE-LCHlch(10.82, 34.93, 315.34°)
OKLaboklab(24.21% 0.0561 -0.0694)
OKLCHoklch(24.21% 0.089 308.9)
XYZxyz(2.1066, 1.2360, 4.8293)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0F3F #223F0F
analogous
#140F3F #2C0F3F #3F0F3A
triadic
#2C0F3F #3F2C0F #0F3F2C
tetradic
#2C0F3F #3F140F #223F0F #0F3A3F
square
#2C0F3F #3F140F #223F0F #0F3A3F
split-complementary
#2C0F3F #3A3F0F #0F3F14
monochromatic
#110619 #110619 #2C0F3F #4F1B70 #7127A2

Accessibility & contrast

On white

16.84
#2C0F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0F3F
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0F3F#FFFFFF#000000##FFFFFF
##2C0F3F1.0016.841.2516.84
#FFFFFF16.841.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C40
Deuteranopia (green-blind)
#071D3E
Tritanopia (blue-blind)
#291925
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2c0f3f;
/* rgb */ color: rgb(44, 15, 63);
/* oklch */ color: oklch(24.2% 0.089 308.9);
Tailwind
colors: {
  custom: {
    50: '#675074',
    500: '#2c0f3f',
    950: '#000000',
  },
}
SCSS
$custom: #2c0f3f;
$custom-light: #675074;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0f3f",
  "rgb": {
    "r": 44,
    "g": 15,
    "b": 63
  },
  "hsl": {
    "h": 276.25,
    "s": 61.538,
    "l": 15.294
  },
  "oklch": {
    "l": 0.24209,
    "c": 0.08928,
    "h": 308.9
  },
  "luminance": 0.01236
}

Semantic roles & 50–950 ramp

primary
#2C0F3F
secondary
#4D7930
accent
#E54383
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2C0F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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