#240130#240130

#240130 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.5% C 0.093 H 315.8°. Best body text is #FFFFFF at 18.72:1 contrast (WCAG AA passes).

Color values

HEX#240130
RGBrgb(36, 1, 48)
HSLhsl(285, 96%, 10%)
HSVhsv(285, 98%, 19%)
CMYKcmyk(25%, 97.9%, 0%, 81.2%)
CIE-LABlab(5.51, 25.98, -22.27)
CIE-LCHlch(5.51, 34.22, 319.40°)
OKLaboklab(19.53% 0.0664 -0.0645)
OKLCHoklch(19.53% 0.093 315.8)
XYZxyz(1.2718, 0.6102, 2.8465)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240130 #0D3001
analogous
#0D0130 #240130 #300125
triadic
#240130 #302401 #013024
tetradic
#240130 #300D01 #0D3001 #012530
square
#240130 #300D01 #0D3001 #012530
split-complementary
#240130 #253001 #01300D
monochromatic
#16011E #16011E #240130 #51026C #7E03A8

Accessibility & contrast

On white

18.72
#240130 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#240130 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240130
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240130#FFFFFF#000000##FFFFFF
##2401301.0018.721.1218.72
#FFFFFF18.721.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001031
Deuteranopia (green-blind)
#00132F
Tritanopia (blue-blind)
#230B18
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #240130;
/* rgb */ color: rgb(36, 1, 48);
/* oklch */ color: oklch(19.5% 0.093 315.8);
Tailwind
colors: {
  custom: {
    50: '#614669',
    500: '#240130',
    950: '#000000',
  },
}
SCSS
$custom: #240130;
$custom-light: #614669;
$custom-dark: #000000;
JSON
{
  "hex": "#240130",
  "rgb": {
    "r": 36,
    "g": 1,
    "b": 48
  },
  "hsl": {
    "h": 284.681,
    "s": 95.918,
    "l": 9.608
  },
  "oklch": {
    "l": 0.19527,
    "c": 0.09258,
    "h": 315.8
  },
  "luminance": 0.0061
}

Semantic roles & 50–950 ramp

primary
#240130
secondary
#2F7617
accent
#FF295F
background
#F5F4F6
surface
#EAE6EB
border
#C6C2C6
text
#050006
muted
#79777A

Preview Lab

Preview with #240130

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

Preview Lab → · Contrast checker → · Palette generator →

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