#260236#260236

#260236 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.6% C 0.097 H 312.6°. Best body text is #FFFFFF at 18.35:1 contrast (WCAG AA passes).

Color values

HEX#260236
RGBrgb(38, 2, 54)
HSLhsl(282, 93%, 11%)
HSVhsv(282, 96%, 21%)
CMYKcmyk(29.6%, 96.3%, 0%, 78.8%)
CIE-LABlab(6.52, 27.97, -25.07)
CIE-LCHlch(6.52, 37.56, 318.14°)
OKLaboklab(20.63% 0.0658 -0.0716)
OKLCHoklch(20.63% 0.097 312.6)
XYZxyz(1.4868, 0.7219, 3.5503)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260236 #123602
analogous
#0C0236 #260236 #36022C
triadic
#260236 #362602 #023626
tetradic
#260236 #360C02 #123602 #022C36
square
#260236 #360C02 #123602 #022C36
split-complementary
#260236 #2C3602 #02360C
monochromatic
#15011E #15011E #260236 #500471 #7906AC

Accessibility & contrast

On white

18.35
#260236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #260236
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260236#FFFFFF#000000##FFFFFF
##2602361.0018.351.1418.35
#FFFFFF18.351.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001337
Deuteranopia (green-blind)
#001535
Tritanopia (blue-blind)
#240E1C
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #260236;
/* rgb */ color: rgb(38, 2, 54);
/* oklch */ color: oklch(20.6% 0.097 312.6);
Tailwind
colors: {
  custom: {
    50: '#63476d',
    500: '#260236',
    950: '#000000',
  },
}
SCSS
$custom: #260236;
$custom-light: #63476d;
$custom-dark: #000000;
JSON
{
  "hex": "#260236",
  "rgb": {
    "r": 38,
    "g": 2,
    "b": 54
  },
  "hsl": {
    "h": 281.538,
    "s": 92.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.20632,
    "c": 0.09725,
    "h": 312.6
  },
  "luminance": 0.00722
}

Semantic roles & 50–950 ramp

primary
#260236
secondary
#377A1A
accent
#FF296B
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#050007
muted
#7A777A

Preview Lab

Preview with #260236

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

Preview Lab → · Contrast checker → · Palette generator →

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