#231B44#231B44

#231B44 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 25.6% C 0.074 H 289.1°. Best body text is #FFFFFF at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#231B44
RGBrgb(35, 27, 68)
HSLhsl(252, 43%, 19%)
HSVhsv(252, 60%, 27%)
CMYKcmyk(48.5%, 60.3%, 0%, 73.3%)
CIE-LABlab(12.98, 16.03, -24.67)
CIE-LCHlch(12.98, 29.42, 303.02°)
OKLaboklab(25.64% 0.0242 -0.0701)
OKLCHoklch(25.64% 0.074 289.1)
XYZxyz(2.1282, 1.5585, 5.6564)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231B44 #3C441B
analogous
#1B2744 #231B44 #371B44
triadic
#231B44 #44231B #1B4423
tetradic
#231B44 #441B27 #3C441B #1B4437
square
#231B44 #441B27 #3C441B #1B4437
split-complementary
#231B44 #44371B #27441B
monochromatic
#0B0916 #0C0A18 #231B44 #3A2C70 #503E9C

Accessibility & contrast

On white

16.01
#231B44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#231B44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231B44
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231B44#FFFFFF#000000##FFFFFF
##231B441.0016.011.3116.01
#FFFFFF16.011.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072245
Deuteranopia (green-blind)
#082043
Tritanopia (blue-blind)
#19242C
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #231b44;
/* rgb */ color: rgb(35, 27, 68);
/* oklch */ color: oklch(25.6% 0.074 289.1);
Tailwind
colors: {
  custom: {
    50: '#615778',
    500: '#231b44',
    950: '#000000',
  },
}
SCSS
$custom: #231b44;
$custom-light: #615778;
$custom-dark: #000000;
JSON
{
  "hex": "#231b44",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 68
  },
  "hsl": {
    "h": 251.707,
    "s": 43.158,
    "l": 18.627
  },
  "oklch": {
    "l": 0.25636,
    "c": 0.07422,
    "h": 289.1
  },
  "luminance": 0.01559
}

Semantic roles & 50–950 ramp

primary
#231B44
secondary
#6F7A41
accent
#D355BA
background
#F5F5F7
surface
#EAE9ED
border
#C6C5C8
text
#050309
muted
#79787B

Preview Lab

Preview with #231B44

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

Preview Lab → · Contrast checker → · Palette generator →

#231B44 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva