#120025#120025

#120025 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 14.9% C 0.078 H 302.5°. Best body text is #FFFFFF at 19.95:1 contrast (WCAG AA passes).

Color values

HEX#120025
RGBrgb(18, 0, 37)
HSLhsl(269, 100%, 7%)
HSVhsv(269, 100%, 15%)
CMYKcmyk(51.4%, 100%, 0%, 85.5%)
CIE-LABlab(2.37, 13.69, -18.99)
CIE-LCHlch(2.37, 23.41, 305.78°)
OKLaboklab(14.86% 0.042 -0.066)
OKLCHoklch(14.86% 0.078 302.5)
XYZxyz(0.5833, 0.2622, 1.7698)
Luminance0.0026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120025 #132500
analogous
#000125 #120025 #250025
triadic
#120025 #251200 #002512
tetradic
#120025 #250001 #132500 #002525
square
#120025 #250001 #132500 #002525
split-complementary
#120025 #252500 #012500
monochromatic
#0F001F #0F001F #120025 #300062 #4E009F

Accessibility & contrast

On white

19.95
#120025 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#120025 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120025
19.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120025#FFFFFF#000000##FFFFFF
##1200251.0019.951.0519.95
#FFFFFF19.951.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000826
Deuteranopia (green-blind)
#000824
Tritanopia (blue-blind)
#0E0711
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #120025;
/* rgb */ color: rgb(18, 0, 37);
/* oklch */ color: oklch(14.9% 0.078 302.5);
Tailwind
colors: {
  custom: {
    50: '#50465f',
    500: '#120025',
    950: '#000000',
  },
}
SCSS
$custom: #120025;
$custom-light: #50465f;
$custom-dark: #000000;
JSON
{
  "hex": "#120025",
  "rgb": {
    "r": 18,
    "g": 0,
    "b": 37
  },
  "hsl": {
    "h": 269.189,
    "s": 100,
    "l": 7.255
  },
  "oklch": {
    "l": 0.14863,
    "c": 0.07827,
    "h": 302.5
  },
  "luminance": 0.00262
}

Semantic roles & 50–950 ramp

primary
#120025
secondary
#426D13
accent
#FF2997
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#020004
muted
#787779

Preview Lab

Preview with #120025

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

Preview Lab → · Contrast checker → · Palette generator →

#120025 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva