#0C0130#0C0130

#0C0130 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.8% C 0.089 H 283.8°. Best body text is #FFFFFF at 19.76:1 contrast (WCAG AA passes).

Color values

HEX#0C0130
RGBrgb(12, 1, 48)
HSLhsl(254, 96%, 10%)
HSVhsv(254, 98%, 19%)
CMYKcmyk(75%, 97.9%, 0%, 81.2%)
CIE-LABlab(2.83, 16.31, -26.71)
CIE-LCHlch(2.83, 31.29, 301.41°)
OKLaboklab(15.76% 0.0212 -0.0862)
OKLCHoklch(15.76% 0.089 283.8)
XYZxyz(0.6958, 0.3132, 2.8195)
Luminance0.0031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0130 #253001
analogous
#010D30 #0C0130 #240130
triadic
#0C0130 #300C01 #01300C
tetradic
#0C0130 #30010D #253001 #013024
square
#0C0130 #30010D #253001 #013024
split-complementary
#0C0130 #302401 #0D3001
monochromatic
#07011E #07011E #0C0130 #1B026C #2A03A8

Accessibility & contrast

On white

19.76
#0C0130 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#0C0130 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C0130
19.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0130#FFFFFF#000000##FFFFFF
##0C01301.0019.761.0619.76
#FFFFFF19.761.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C31
Deuteranopia (green-blind)
#00092F
Tritanopia (blue-blind)
#000E18
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #0c0130;
/* rgb */ color: rgb(12, 1, 48);
/* oklch */ color: oklch(15.8% 0.089 283.8);
Tailwind
colors: {
  custom: {
    50: '#4e4669',
    500: '#0c0130',
    950: '#000000',
  },
}
SCSS
$custom: #0c0130;
$custom-light: #4e4669;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0130",
  "rgb": {
    "r": 12,
    "g": 1,
    "b": 48
  },
  "hsl": {
    "h": 254.043,
    "s": 95.918,
    "l": 9.608
  },
  "oklch": {
    "l": 0.15756,
    "c": 0.08875,
    "h": 283.8
  },
  "luminance": 0.00313
}

Semantic roles & 50–950 ramp

primary
#0C0130
secondary
#607617
accent
#FF29CD
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0C0130

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

Preview Lab → · Contrast checker → · Palette generator →

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