#241068#241068

#241068 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.5% C 0.140 H 282.6°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#241068
RGBrgb(36, 16, 104)
HSLhsl(254, 73%, 24%)
HSVhsv(254, 85%, 41%)
CMYKcmyk(65.4%, 84.6%, 0%, 59.2%)
CIE-LABlab(14.09, 35.23, -47.24)
CIE-LCHlch(14.09, 58.93, 306.72°)
OKLaboklab(27.53% 0.0306 -0.1362)
OKLCHoklch(27.53% 0.14 282.6)
XYZxyz(3.4108, 1.7449, 13.2511)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241068 #546810
analogous
#102868 #241068 #501068
triadic
#241068 #682410 #106824
tetradic
#241068 #681028 #546810 #106850
square
#241068 #681028 #546810 #106850
split-complementary
#241068 #685010 #286810
monochromatic
#09041B #120833 #241068 #36189D #4920D2

Accessibility & contrast

On white

15.57
#241068 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#241068 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241068
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241068#FFFFFF#000000##FFFFFF
##2410681.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00266A
Deuteranopia (green-blind)
#002166
Tritanopia (blue-blind)
#002B3C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #241068;
/* rgb */ color: rgb(36, 16, 104);
/* oklch */ color: oklch(27.5% 0.140 282.6);
Tailwind
colors: {
  custom: {
    50: '#695294',
    500: '#241068',
    950: '#000000',
  },
}
SCSS
$custom: #241068;
$custom-light: #695294;
$custom-dark: #000000;
JSON
{
  "hex": "#241068",
  "rgb": {
    "r": 36,
    "g": 16,
    "b": 104
  },
  "hsl": {
    "h": 253.636,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.27529,
    "c": 0.13963,
    "h": 282.6
  },
  "luminance": 0.01745
}

Semantic roles & 50–950 ramp

primary
#241068
secondary
#88A034
accent
#F038C6
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #241068

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

Preview Lab → · Contrast checker → · Palette generator →

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