#240134#240134

#240134 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.9% C 0.096 H 312.3°. Best body text is #FFFFFF at 18.60:1 contrast (WCAG AA passes).

Color values

HEX#240134
RGBrgb(36, 1, 52)
HSLhsl(281, 96%, 10%)
HSVhsv(281, 98%, 20%)
CMYKcmyk(30.8%, 98.1%, 0%, 79.6%)
CIE-LABlab(5.82, 27.26, -24.73)
CIE-LCHlch(5.82, 36.81, 317.78°)
OKLaboklab(19.92% 0.065 -0.0713)
OKLCHoklch(19.92% 0.096 312.3)
XYZxyz(1.3581, 0.6448, 3.3011)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240134 #113401
analogous
#0A0134 #240134 #34012A
triadic
#240134 #342401 #013424
tetradic
#240134 #340A01 #113401 #012A34
square
#240134 #340A01 #113401 #012A34
split-complementary
#240134 #2A3401 #01340A
monochromatic
#15011E #15011E #240134 #4E0270 #7703AC

Accessibility & contrast

On white

18.60
#240134 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #240134
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240134#FFFFFF#000000##FFFFFF
##2401341.0018.601.1318.60
#FFFFFF18.601.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001135
Deuteranopia (green-blind)
#001433
Tritanopia (blue-blind)
#220D1B
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #240134;
/* rgb */ color: rgb(36, 1, 52);
/* oklch */ color: oklch(19.9% 0.096 312.3);
Tailwind
colors: {
  custom: {
    50: '#61466c',
    500: '#240134',
    950: '#000000',
  },
}
SCSS
$custom: #240134;
$custom-light: #61466c;
$custom-dark: #000000;
JSON
{
  "hex": "#240134",
  "rgb": {
    "r": 36,
    "g": 1,
    "b": 52
  },
  "hsl": {
    "h": 281.176,
    "s": 96.226,
    "l": 10.392
  },
  "oklch": {
    "l": 0.1992,
    "c": 0.09649,
    "h": 312.3
  },
  "luminance": 0.00645
}

Semantic roles & 50–950 ramp

primary
#240134
secondary
#367918
accent
#FF296C
background
#F5F4F6
surface
#EAE6EB
border
#C6C2C6
text
#050007
muted
#79777A

Preview Lab

Preview with #240134

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

Preview Lab → · Contrast checker → · Palette generator →

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