#1B0230#1B0230

#1B0230 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.1% C 0.087 H 304.3°. Best body text is #FFFFFF at 19.13:1 contrast (WCAG AA passes).

Color values

HEX#1B0230
RGBrgb(27, 2, 48)
HSLhsl(273, 92%, 10%)
HSVhsv(273, 96%, 19%)
CMYKcmyk(43.8%, 95.8%, 0%, 81.2%)
CIE-LABlab(4.42, 21.78, -24.08)
CIE-LCHlch(4.42, 32.47, 312.14°)
OKLaboklab(18.14% 0.0493 -0.0723)
OKLCHoklch(18.14% 0.088 304.3)
XYZxyz(1.0071, 0.4898, 2.8372)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0230 #173002
analogous
#040230 #1B0230 #30022E
triadic
#1B0230 #301B02 #02301B
tetradic
#1B0230 #300402 #173002 #022E30
square
#1B0230 #300402 #173002 #022E30
split-complementary
#1B0230 #2E3002 #023004
monochromatic
#11011D #11011D #1B0230 #3C046B #5D07A6

Accessibility & contrast

On white

19.13
#1B0230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#1B0230 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0230
19.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0230#FFFFFF#000000##FFFFFF
##1B02301.0019.131.1019.13
#FFFFFF19.131.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F31
Deuteranopia (green-blind)
#000F2F
Tritanopia (blue-blind)
#170D19
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #1b0230;
/* rgb */ color: rgb(27, 2, 48);
/* oklch */ color: oklch(18.1% 0.087 304.3);
Tailwind
colors: {
  custom: {
    50: '#594669',
    500: '#1b0230',
    950: '#000000',
  },
}
SCSS
$custom: #1b0230;
$custom-light: #594669;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0230",
  "rgb": {
    "r": 27,
    "g": 2,
    "b": 48
  },
  "hsl": {
    "h": 272.609,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.18139,
    "c": 0.0875,
    "h": 304.3
  },
  "luminance": 0.0049
}

Semantic roles & 50–950 ramp

primary
#1B0230
secondary
#437519
accent
#FF298B
background
#F5F3F6
surface
#E9E5EB
border
#C5C1C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1B0230

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

Preview Lab → · Contrast checker → · Palette generator →

#1B0230 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva