#231048#231048

#231048 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.0% C 0.098 H 293.1°. Best body text is #FFFFFF at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#231048
RGBrgb(35, 16, 72)
HSLhsl(260, 64%, 17%)
HSVhsv(260, 78%, 28%)
CMYKcmyk(51.4%, 77.8%, 0%, 71.8%)
CIE-LABlab(10.53, 24.80, -31.43)
CIE-LCHlch(10.53, 40.03, 308.27°)
OKLaboklab(23.96% 0.0384 -0.09)
OKLCHoklch(23.96% 0.098 293.1)
XYZxyz(2.0478, 1.1957, 6.2525)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231048 #354810
analogous
#101948 #231048 #3F1048
triadic
#231048 #482310 #104823
tetradic
#231048 #481019 #354810 #10483F
square
#231048 #481019 #354810 #10483F
split-complementary
#231048 #483F10 #194810
monochromatic
#0C0619 #0C0619 #231048 #3B1B7A #5426AC

Accessibility & contrast

On white

16.95
#231048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#231048 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231048
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231048#FFFFFF#000000##FFFFFF
##2310481.0016.951.2416.95
#FFFFFF16.951.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4A
Deuteranopia (green-blind)
#001B47
Tritanopia (blue-blind)
#181E2A
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #231048;
/* rgb */ color: rgb(35, 16, 72);
/* oklch */ color: oklch(24.0% 0.098 293.1);
Tailwind
colors: {
  custom: {
    50: '#62507b',
    500: '#231048',
    950: '#000000',
  },
}
SCSS
$custom: #231048;
$custom-light: #62507b;
$custom-dark: #000000;
JSON
{
  "hex": "#231048",
  "rgb": {
    "r": 35,
    "g": 16,
    "b": 72
  },
  "hsl": {
    "h": 260.357,
    "s": 63.636,
    "l": 17.255
  },
  "oklch": {
    "l": 0.23959,
    "c": 0.09786,
    "h": 293.1
  },
  "luminance": 0.01196
}

Semantic roles & 50–950 ramp

primary
#231048
secondary
#678232
accent
#E741AF
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#050209
muted
#7A787B

Preview Lab

Preview with #231048

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

Preview Lab → · Contrast checker → · Palette generator →

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