#0C0430#0C0430

#0C0430 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.5% C 0.083 H 282.1°. Best body text is #FFFFFF at 19.52:1 contrast (WCAG AA passes).

Color values

HEX#0C0430
RGBrgb(12, 4, 48)
HSLhsl(251, 85%, 10%)
HSVhsv(251, 92%, 19%)
CMYKcmyk(75%, 91.7%, 0%, 81.2%)
CIE-LABlab(3.42, 15.11, -25.77)
CIE-LCHlch(3.42, 29.87, 300.38°)
OKLaboklab(16.51% 0.0173 -0.081)
OKLCHoklch(16.51% 0.083 282.1)
XYZxyz(0.7284, 0.3783, 2.8304)
Luminance0.0038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0430 #283004
analogous
#041230 #0C0430 #220430
triadic
#0C0430 #300C04 #04300C
tetradic
#0C0430 #300412 #283004 #043022
square
#0C0430 #300412 #283004 #043022
split-complementary
#0C0430 #302204 #123004
monochromatic
#07021C #07021C #0C0430 #1A0968 #280DA1

Accessibility & contrast

On white

19.52
#0C0430 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#0C0430 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C0430
19.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0430#FFFFFF#000000##FFFFFF
##0C04301.0019.521.0819.52
#FFFFFF19.521.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E31
Deuteranopia (green-blind)
#000B2F
Tritanopia (blue-blind)
#001019
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #0c0430;
/* rgb */ color: rgb(12, 4, 48);
/* oklch */ color: oklch(16.5% 0.083 282.1);
Tailwind
colors: {
  custom: {
    50: '#4e4869',
    500: '#0c0430',
    950: '#000000',
  },
}
SCSS
$custom: #0c0430;
$custom-light: #4e4869;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0430",
  "rgb": {
    "r": 12,
    "g": 4,
    "b": 48
  },
  "hsl": {
    "h": 250.909,
    "s": 84.615,
    "l": 10.196
  },
  "oklch": {
    "l": 0.16511,
    "c": 0.08284,
    "h": 282.1
  },
  "luminance": 0.00378
}

Semantic roles & 50–950 ramp

primary
#0C0430
secondary
#63721D
accent
#FB2DD5
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0C0430

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

Preview Lab → · Contrast checker → · Palette generator →

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