#240136#240136

#240136 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.1% C 0.098 H 310.7°. Best body text is #FFFFFF at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#240136
RGBrgb(36, 1, 54)
HSLhsl(280, 96%, 11%)
HSVhsv(280, 98%, 21%)
CMYKcmyk(33.3%, 98.1%, 0%, 78.8%)
CIE-LABlab(5.99, 27.90, -25.94)
CIE-LCHlch(5.99, 38.09, 317.08°)
OKLaboklab(20.12% 0.0642 -0.0747)
OKLCHoklch(20.12% 0.098 310.7)
XYZxyz(1.4041, 0.6632, 3.5433)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240136 #133601
analogous
#090136 #240136 #36012D
triadic
#240136 #362401 #013624
tetradic
#240136 #360901 #133601 #012D36
square
#240136 #360901 #133601 #012D36
split-complementary
#240136 #2D3601 #013609
monochromatic
#14011E #14011E #240136 #4C0272 #7403AE

Accessibility & contrast

On white

18.54
#240136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#240136 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240136
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240136#FFFFFF#000000##FFFFFF
##2401361.0018.541.1318.54
#FFFFFF18.541.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001237
Deuteranopia (green-blind)
#001435
Tritanopia (blue-blind)
#210E1C
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #240136;
/* rgb */ color: rgb(36, 1, 54);
/* oklch */ color: oklch(20.1% 0.098 310.7);
Tailwind
colors: {
  custom: {
    50: '#62466d',
    500: '#240136',
    950: '#000000',
  },
}
SCSS
$custom: #240136;
$custom-light: #62466d;
$custom-dark: #000000;
JSON
{
  "hex": "#240136",
  "rgb": {
    "r": 36,
    "g": 1,
    "b": 54
  },
  "hsl": {
    "h": 279.623,
    "s": 96.364,
    "l": 10.784
  },
  "oklch": {
    "l": 0.20123,
    "c": 0.09848,
    "h": 310.7
  },
  "luminance": 0.00663
}

Semantic roles & 50–950 ramp

primary
#240136
secondary
#3A7B18
accent
#FF2972
background
#F5F4F6
surface
#EAE6EB
border
#C6C2C6
text
#050007
muted
#79777A

Preview Lab

Preview with #240136

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

Preview Lab → · Contrast checker → · Palette generator →

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