#231249#231249

#231249 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.4% C 0.096 H 291.9°. Best body text is #FFFFFF at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#231249
RGBrgb(35, 18, 73)
HSLhsl(259, 60%, 18%)
HSVhsv(259, 75%, 29%)
CMYKcmyk(52.1%, 75.3%, 0%, 71.4%)
CIE-LABlab(11.07, 23.88, -31.24)
CIE-LCHlch(11.07, 39.32, 307.40°)
OKLaboklab(24.38% 0.0359 -0.0895)
OKLCHoklch(24.38% 0.096 291.9)
XYZxyz(2.1117, 1.2709, 6.4361)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231249 #384912
analogous
#121D49 #231249 #3E1249
triadic
#231249 #492312 #124923
tetradic
#231249 #49121D #384912 #12493E
square
#231249 #49121D #384912 #12493E
split-complementary
#231249 #493E12 #1D4912
monochromatic
#0C0619 #0C0619 #231249 #3B1E7A #522AAB

Accessibility & contrast

On white

16.74
#231249 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231249
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231249#FFFFFF#000000##FFFFFF
##2312491.0016.741.2516.74
#FFFFFF16.741.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4B
Deuteranopia (green-blind)
#001C48
Tritanopia (blue-blind)
#17202B
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #231249;
/* rgb */ color: rgb(35, 18, 73);
/* oklch */ color: oklch(24.4% 0.096 291.9);
Tailwind
colors: {
  custom: {
    50: '#62517c',
    500: '#231249',
    950: '#000000',
  },
}
SCSS
$custom: #231249;
$custom-light: #62517c;
$custom-dark: #000000;
JSON
{
  "hex": "#231249",
  "rgb": {
    "r": 35,
    "g": 18,
    "b": 73
  },
  "hsl": {
    "h": 258.545,
    "s": 60.44,
    "l": 17.843
  },
  "oklch": {
    "l": 0.24378,
    "c": 0.09639,
    "h": 291.9
  },
  "luminance": 0.01271
}

Semantic roles & 50–950 ramp

primary
#231249
secondary
#6A8235
accent
#E444B2
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#050209
muted
#7A787B

Preview Lab

Preview with #231249

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

Preview Lab → · Contrast checker → · Palette generator →

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