#260231#260231

#260231 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.2% C 0.092 H 316.9°. Best body text is #FFFFFF at 18.50:1 contrast (WCAG AA passes).

Color values

HEX#260231
RGBrgb(38, 2, 49)
HSLhsl(286, 92%, 10%)
HSVhsv(286, 96%, 19%)
CMYKcmyk(22.4%, 95.9%, 0%, 80.8%)
CIE-LABlab(6.12, 26.50, -22.03)
CIE-LCHlch(6.12, 34.46, 320.27°)
OKLaboklab(20.16% 0.0674 -0.063)
OKLCHoklch(20.16% 0.092 316.9)
XYZxyz(1.3753, 0.6773, 2.9634)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260231 #0D3102
analogous
#0E0231 #260231 #310225
triadic
#260231 #312602 #023126
tetradic
#260231 #310E02 #0D3102 #022531
square
#260231 #310E02 #0D3102 #022531
split-complementary
#260231 #253102 #02310E
monochromatic
#17011D #17011D #260231 #54046C #8107A7

Accessibility & contrast

On white

18.50
#260231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #260231
18.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260231#FFFFFF#000000##FFFFFF
##2602311.0018.501.1418.50
#FFFFFF18.501.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001132
Deuteranopia (green-blind)
#021530
Tritanopia (blue-blind)
#250C19
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #260231;
/* rgb */ color: rgb(38, 2, 49);
/* oklch */ color: oklch(20.2% 0.092 316.9);
Tailwind
colors: {
  custom: {
    50: '#634769',
    500: '#260231',
    950: '#000000',
  },
}
SCSS
$custom: #260231;
$custom-light: #634769;
$custom-dark: #000000;
JSON
{
  "hex": "#260231",
  "rgb": {
    "r": 38,
    "g": 2,
    "b": 49
  },
  "hsl": {
    "h": 285.957,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.20157,
    "c": 0.09226,
    "h": 316.9
  },
  "luminance": 0.00677
}

Semantic roles & 50–950 ramp

primary
#260231
secondary
#2F7519
accent
#FF295B
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#050006
muted
#7A777A

Preview Lab

Preview with #260231

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

Preview Lab → · Contrast checker → · Palette generator →

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