#241245#241245

#241245 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.1% C 0.091 H 294.9°. Best body text is #FFFFFF at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#241245
RGBrgb(36, 18, 69)
HSLhsl(261, 59%, 17%)
HSVhsv(261, 74%, 27%)
CMYKcmyk(47.8%, 73.9%, 0%, 72.9%)
CIE-LABlab(10.83, 22.80, -28.83)
CIE-LCHlch(10.83, 36.76, 308.34°)
OKLaboklab(24.12% 0.0382 -0.0823)
OKLCHoklch(24.12% 0.091 294.9)
XYZxyz(2.0178, 1.2373, 5.7616)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241245 #334512
analogous
#121A45 #241245 #3E1245
triadic
#241245 #452412 #124524
tetradic
#241245 #45121A #334512 #12453E
square
#241245 #45121A #334512 #12453E
split-complementary
#241245 #453E12 #1A4512
monochromatic
#0D0618 #0D0618 #241245 #3D1F76 #572BA6

Accessibility & contrast

On white

16.84
#241245 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#241245 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241245
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241245#FFFFFF#000000##FFFFFF
##2412451.0016.841.2516.84
#FFFFFF16.841.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E47
Deuteranopia (green-blind)
#001C44
Tritanopia (blue-blind)
#1B1E29
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #241245;
/* rgb */ color: rgb(36, 18, 69);
/* oklch */ color: oklch(24.1% 0.091 294.9);
Tailwind
colors: {
  custom: {
    50: '#625179',
    500: '#241245',
    950: '#000000',
  },
}
SCSS
$custom: #241245;
$custom-light: #625179;
$custom-dark: #000000;
JSON
{
  "hex": "#241245",
  "rgb": {
    "r": 36,
    "g": 18,
    "b": 69
  },
  "hsl": {
    "h": 261.176,
    "s": 58.621,
    "l": 17.059
  },
  "oklch": {
    "l": 0.2412,
    "c": 0.09077,
    "h": 294.9
  },
  "luminance": 0.01237
}

Semantic roles & 50–950 ramp

primary
#241245
secondary
#647E35
accent
#E246AB
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050209
muted
#7A787B

Preview Lab

Preview with #241245

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

Preview Lab → · Contrast checker → · Palette generator →

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