#0C0129#0C0129

#0C0129 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 14.8% C 0.080 H 288.3°. Best body text is #FFFFFF at 19.96:1 contrast (WCAG AA passes).

Color values

HEX#0C0129
RGBrgb(12, 1, 41)
HSLhsl(257, 95%, 8%)
HSVhsv(257, 98%, 16%)
CMYKcmyk(70.7%, 97.6%, 0%, 83.9%)
CIE-LABlab(2.35, 12.93, -22.15)
CIE-LCHlch(2.35, 25.65, 300.26°)
OKLaboklab(14.77% 0.025 -0.0757)
OKLCHoklch(14.77% 0.08 288.3)
XYZxyz(0.5626, 0.2599, 2.1179)
Luminance0.0026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0129 #1E2901
analogous
#010A29 #0C0129 #200129
triadic
#0C0129 #290C01 #01290C
tetradic
#0C0129 #29010A #1E2901 #012920
square
#0C0129 #29010A #1E2901 #012920
split-complementary
#0C0129 #292001 #0A2901
monochromatic
#09011E #09011E #0C0129 #1D0265 #2F04A0

Accessibility & contrast

On white

19.96
#0C0129 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#0C0129 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C0129
19.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0129#FFFFFF#000000##FFFFFF
##0C01291.0019.961.0519.96
#FFFFFF19.961.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00092A
Deuteranopia (green-blind)
#000828
Tritanopia (blue-blind)
#020B14
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #0c0129;
/* rgb */ color: rgb(12, 1, 41);
/* oklch */ color: oklch(14.8% 0.080 288.3);
Tailwind
colors: {
  custom: {
    50: '#4c4763',
    500: '#0c0129',
    950: '#000000',
  },
}
SCSS
$custom: #0c0129;
$custom-light: #4c4763;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0129",
  "rgb": {
    "r": 12,
    "g": 1,
    "b": 41
  },
  "hsl": {
    "h": 256.5,
    "s": 95.238,
    "l": 8.235
  },
  "oklch": {
    "l": 0.14769,
    "c": 0.07968,
    "h": 288.3
  },
  "luminance": 0.0026
}

Semantic roles & 50–950 ramp

primary
#0C0129
secondary
#576F16
accent
#FF29C4
background
#F4F3F5
surface
#E7E5EA
border
#C3C1C6
text
#010005
muted
#777779

Preview Lab

Preview with #0C0129

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

Preview Lab → · Contrast checker → · Palette generator →

#0C0129 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva