#120833#120833

#120833 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.4% C 0.080 H 286.5°. Best body text is #FFFFFF at 18.95:1 contrast (WCAG AA passes).

Color values

HEX#120833
RGBrgb(18, 8, 51)
HSLhsl(254, 73%, 12%)
HSVhsv(254, 84%, 20%)
CMYKcmyk(64.7%, 84.3%, 0%, 80%)
CIE-LABlab(4.89, 17.04, -25.62)
CIE-LCHlch(4.89, 30.77, 303.63°)
OKLaboklab(18.4% 0.0225 -0.0763)
OKLCHoklch(18.4% 0.08 286.5)
XYZxyz(0.9336, 0.5412, 3.1866)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120833 #293308
analogous
#081433 #120833 #280833
triadic
#120833 #331208 #083312
tetradic
#120833 #330814 #293308 #083328
square
#120833 #330814 #293308 #083328
split-complementary
#120833 #332808 #143308
monochromatic
#09041A #09041A #120833 #251068 #37199D

Accessibility & contrast

On white

18.95
#120833 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#120833 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120833
18.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120833#FFFFFF#000000##FFFFFF
##1208331.0018.951.1118.95
#FFFFFF18.951.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001234
Deuteranopia (green-blind)
#000F32
Tritanopia (blue-blind)
#05131C
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #120833;
/* rgb */ color: rgb(18, 8, 51);
/* oklch */ color: oklch(18.4% 0.080 286.5);
Tailwind
colors: {
  custom: {
    50: '#53496b',
    500: '#120833',
    950: '#000000',
  },
}
SCSS
$custom: #120833;
$custom-light: #53496b;
$custom-dark: #000000;
JSON
{
  "hex": "#120833",
  "rgb": {
    "r": 18,
    "g": 8,
    "b": 51
  },
  "hsl": {
    "h": 253.953,
    "s": 72.881,
    "l": 11.569
  },
  "oklch": {
    "l": 0.18404,
    "c": 0.07952,
    "h": 286.5
  },
  "luminance": 0.00541
}

Semantic roles & 50–950 ramp

primary
#120833
secondary
#607225
accent
#F038C5
background
#F4F4F6
surface
#E8E7EB
border
#C4C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #120833

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

Preview Lab → · Contrast checker → · Palette generator →

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