#0C0433#0C0433

#0C0433 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.9% C 0.087 H 280.7°. Best body text is #FFFFFF at 19.43:1 contrast (WCAG AA passes).

Color values

HEX#0C0433
RGBrgb(12, 4, 51)
HSLhsl(250, 85%, 11%)
HSVhsv(250, 92%, 20%)
CMYKcmyk(76.5%, 92.2%, 0%, 80%)
CIE-LABlab(3.65, 16.73, -27.63)
CIE-LCHlch(3.65, 32.30, 301.19°)
OKLaboklab(16.91% 0.0162 -0.0856)
OKLCHoklch(16.91% 0.087 280.7)
XYZxyz(0.7924, 0.4040, 3.1675)
Luminance0.0040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0433 #2B3304
analogous
#041333 #0C0433 #230433
triadic
#0C0433 #330C04 #04330C
tetradic
#0C0433 #330413 #2B3304 #043323
square
#0C0433 #330413 #2B3304 #043323
split-complementary
#0C0433 #332304 #133304
monochromatic
#07021C #07021C #0C0433 #19086C #270DA4

Accessibility & contrast

On white

19.43
#0C0433 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C0433
19.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0433#FFFFFF#000000##FFFFFF
##0C04331.0019.431.0819.43
#FFFFFF19.431.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F34
Deuteranopia (green-blind)
#000B32
Tritanopia (blue-blind)
#00111B
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #0c0433;
/* rgb */ color: rgb(12, 4, 51);
/* oklch */ color: oklch(16.9% 0.087 280.7);
Tailwind
colors: {
  custom: {
    50: '#4f486b',
    500: '#0c0433',
    950: '#000000',
  },
}
SCSS
$custom: #0c0433;
$custom-light: #4f486b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0433",
  "rgb": {
    "r": 12,
    "g": 4,
    "b": 51
  },
  "hsl": {
    "h": 250.213,
    "s": 85.455,
    "l": 10.784
  },
  "oklch": {
    "l": 0.16906,
    "c": 0.08712,
    "h": 280.7
  },
  "luminance": 0.00404
}

Semantic roles & 50–950 ramp

primary
#0C0433
secondary
#66751D
accent
#FC2CD8
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020007
muted
#78777A

Preview Lab

Preview with #0C0433

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

Preview Lab → · Contrast checker → · Palette generator →

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