#120230#120230

#120230 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.8% C 0.086 H 291.7°. Best body text is #FFFFFF at 19.50:1 contrast (WCAG AA passes).

Color values

HEX#120230
RGBrgb(18, 2, 48)
HSLhsl(261, 92%, 10%)
HSVhsv(261, 96%, 19%)
CMYKcmyk(62.5%, 95.8%, 0%, 81.2%)
CIE-LABlab(3.48, 17.95, -25.64)
CIE-LCHlch(3.48, 31.30, 305.00°)
OKLaboklab(16.78% 0.0319 -0.0801)
OKLCHoklch(16.78% 0.086 291.7)
XYZxyz(0.8045, 0.3854, 2.8277)
Luminance0.0039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120230 #203002
analogous
#020930 #120230 #290230
triadic
#120230 #301202 #023012
tetradic
#120230 #300209 #203002 #023029
square
#120230 #300209 #203002 #023029
split-complementary
#120230 #302902 #093002
monochromatic
#0B011D #0B011D #120230 #28046B #3E07A6

Accessibility & contrast

On white

19.50
#120230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#120230 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120230
19.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120230#FFFFFF#000000##FFFFFF
##1202301.0019.501.0819.50
#FFFFFF19.501.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D31
Deuteranopia (green-blind)
#000B2F
Tritanopia (blue-blind)
#070E19
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #120230;
/* rgb */ color: rgb(18, 2, 48);
/* oklch */ color: oklch(16.8% 0.086 291.7);
Tailwind
colors: {
  custom: {
    50: '#524769',
    500: '#120230',
    950: '#000000',
  },
}
SCSS
$custom: #120230;
$custom-light: #524769;
$custom-dark: #000000;
JSON
{
  "hex": "#120230",
  "rgb": {
    "r": 18,
    "g": 2,
    "b": 48
  },
  "hsl": {
    "h": 260.87,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.16775,
    "c": 0.08624,
    "h": 291.7
  },
  "luminance": 0.00385
}

Semantic roles & 50–950 ramp

primary
#120230
secondary
#557519
accent
#FF29B4
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020006
muted
#78777A

Preview Lab

Preview with #120230

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

Preview Lab → · Contrast checker → · Palette generator →

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