#240730#240730

#240730 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.5% C 0.081 H 314.1°. Best body text is #FFFFFF at 18.29:1 contrast (WCAG AA passes).

Color values

HEX#240730
RGBrgb(36, 7, 48)
HSLhsl(282, 75%, 11%)
HSVhsv(282, 85%, 19%)
CMYKcmyk(25%, 85.4%, 0%, 81.2%)
CIE-LABlab(6.69, 22.90, -20.39)
CIE-LCHlch(6.69, 30.66, 318.32°)
OKLaboklab(20.52% 0.0562 -0.0579)
OKLCHoklch(20.52% 0.081 314.1)
XYZxyz(1.3369, 0.7405, 2.8682)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240730 #133007
analogous
#0F0730 #240730 #300727
triadic
#240730 #302407 #073024
tetradic
#240730 #300F07 #133007 #072730
square
#240730 #300F07 #133007 #072730
split-complementary
#240730 #273007 #07300F
monochromatic
#14041B #14041B #240730 #4C0F65 #74179B

Accessibility & contrast

On white

18.29
#240730 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#240730 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240730
18.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240730#FFFFFF#000000##FFFFFF
##2407301.0018.291.1518.29
#FFFFFF18.291.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001331
Deuteranopia (green-blind)
#05162F
Tritanopia (blue-blind)
#230F1A
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #240730;
/* rgb */ color: rgb(36, 7, 48);
/* oklch */ color: oklch(20.5% 0.081 314.1);
Tailwind
colors: {
  custom: {
    50: '#604968',
    500: '#240730',
    950: '#000000',
  },
}
SCSS
$custom: #240730;
$custom-light: #604968;
$custom-dark: #000000;
JSON
{
  "hex": "#240730",
  "rgb": {
    "r": 36,
    "g": 7,
    "b": 48
  },
  "hsl": {
    "h": 282.439,
    "s": 74.545,
    "l": 10.784
  },
  "oklch": {
    "l": 0.20518,
    "c": 0.08066,
    "h": 314.1
  },
  "luminance": 0.0074
}

Semantic roles & 50–950 ramp

primary
#240730
secondary
#3A7023
accent
#F1376D
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #240730

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

Preview Lab → · Contrast checker → · Palette generator →

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