#241247#241247

#241247 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.3% C 0.094 H 293.9°. Best body text is #FFFFFF at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#241247
RGBrgb(36, 18, 71)
HSLhsl(260, 60%, 17%)
HSVhsv(260, 75%, 28%)
CMYKcmyk(49.3%, 74.6%, 0%, 72.2%)
CIE-LABlab(11.01, 23.45, -29.93)
CIE-LCHlch(11.01, 38.02, 308.07°)
OKLaboklab(24.31% 0.0379 -0.0856)
OKLCHoklch(24.31% 0.094 293.9)
XYZxyz(2.0809, 1.2626, 6.0941)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241247 #354712
analogous
#121B47 #241247 #3E1247
triadic
#241247 #472412 #124724
tetradic
#241247 #47121B #354712 #12473E
square
#241247 #47121B #354712 #12473E
split-complementary
#241247 #473E12 #1B4712
monochromatic
#0C0618 #0C0618 #241247 #3D1E78 #562BA9

Accessibility & contrast

On white

16.77
#241247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241247
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241247#FFFFFF#000000##FFFFFF
##2412471.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E49
Deuteranopia (green-blind)
#001D46
Tritanopia (blue-blind)
#1A1F2A
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #241247;
/* rgb */ color: rgb(36, 18, 71);
/* oklch */ color: oklch(24.3% 0.094 293.9);
Tailwind
colors: {
  custom: {
    50: '#63517b',
    500: '#241247',
    950: '#000000',
  },
}
SCSS
$custom: #241247;
$custom-light: #63517b;
$custom-dark: #000000;
JSON
{
  "hex": "#241247",
  "rgb": {
    "r": 36,
    "g": 18,
    "b": 71
  },
  "hsl": {
    "h": 260.377,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.24307,
    "c": 0.0936,
    "h": 293.9
  },
  "luminance": 0.01263
}

Semantic roles & 50–950 ramp

primary
#241247
secondary
#668035
accent
#E345AD
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#050209
muted
#7A787B

Preview Lab

Preview with #241247

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

Preview Lab → · Contrast checker → · Palette generator →

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