#240630#240630

#240630 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.4% C 0.083 H 314.4°. Best body text is #FFFFFF at 18.36:1 contrast (WCAG AA passes).

Color values

HEX#240630
RGBrgb(36, 6, 48)
HSLhsl(283, 78%, 11%)
HSVhsv(283, 88%, 19%)
CMYKcmyk(25%, 87.5%, 0%, 81.2%)
CIE-LABlab(6.49, 23.42, -20.70)
CIE-LCHlch(6.49, 31.26, 318.52°)
OKLaboklab(20.36% 0.0578 -0.0589)
OKLCHoklch(20.36% 0.083 314.4)
XYZxyz(1.3261, 0.7188, 2.8646)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240630 #123006
analogous
#0F0630 #240630 #300627
triadic
#240630 #302406 #063024
tetradic
#240630 #300F06 #123006 #062730
square
#240630 #300F06 #123006 #062730
split-complementary
#240630 #273006 #06300F
monochromatic
#14031B #14031B #240630 #4D0D66 #76149D

Accessibility & contrast

On white

18.36
#240630 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#240630 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240630
18.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240630#FFFFFF#000000##FFFFFF
##2406301.0018.361.1418.36
#FFFFFF18.361.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #240630;
/* rgb */ color: rgb(36, 6, 48);
/* oklch */ color: oklch(20.4% 0.083 314.4);
Tailwind
colors: {
  custom: {
    50: '#614968',
    500: '#240630',
    950: '#000000',
  },
}
SCSS
$custom: #240630;
$custom-light: #614968;
$custom-dark: #000000;
JSON
{
  "hex": "#240630",
  "rgb": {
    "r": 36,
    "g": 6,
    "b": 48
  },
  "hsl": {
    "h": 282.857,
    "s": 77.778,
    "l": 10.588
  },
  "oklch": {
    "l": 0.2036,
    "c": 0.08252,
    "h": 314.4
  },
  "luminance": 0.00719
}

Semantic roles & 50–950 ramp

primary
#240630
secondary
#387121
accent
#F4346B
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #240630

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

Preview Lab → · Contrast checker → · Palette generator →

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