#231B41#231B41

#231B41 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.4% C 0.069 H 290.3°. Best body text is #FFFFFF at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#231B41
RGBrgb(35, 27, 65)
HSLhsl(253, 41%, 18%)
HSVhsv(253, 58%, 25%)
CMYKcmyk(46.2%, 58.5%, 0%, 74.5%)
CIE-LABlab(12.75, 15.00, -22.93)
CIE-LCHlch(12.75, 27.40, 303.19°)
OKLaboklab(25.4% 0.024 -0.065)
OKLCHoklch(25.4% 0.069 290.3)
XYZxyz(2.0389, 1.5228, 5.1865)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231B41 #39411B
analogous
#1B2641 #231B41 #361B41
triadic
#231B41 #41231B #1B4123
tetradic
#231B41 #411B26 #39411B #1B4136
square
#231B41 #411B26 #39411B #1B4136
split-complementary
#231B41 #41361B #26411B
monochromatic
#0C0916 #0C0916 #231B41 #3A2D6C #523F97

Accessibility & contrast

On white

16.10
#231B41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#231B41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231B41
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231B41#FFFFFF#000000##FFFFFF
##231B411.0016.101.3016.10
#FFFFFF16.101.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2242
Deuteranopia (green-blind)
#0C2040
Tritanopia (blue-blind)
#1B232B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #231b41;
/* rgb */ color: rgb(35, 27, 65);
/* oklch */ color: oklch(25.4% 0.069 290.3);
Tailwind
colors: {
  custom: {
    50: '#605776',
    500: '#231b41',
    950: '#000000',
  },
}
SCSS
$custom: #231b41;
$custom-light: #605776;
$custom-dark: #000000;
JSON
{
  "hex": "#231b41",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 65
  },
  "hsl": {
    "h": 252.632,
    "s": 41.304,
    "l": 18.039
  },
  "oklch": {
    "l": 0.25399,
    "c": 0.06932,
    "h": 290.3
  },
  "luminance": 0.01523
}

Semantic roles & 50–950 ramp

primary
#231B41
secondary
#6B7641
accent
#D157B7
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#050308
muted
#79787B

Preview Lab

Preview with #231B41

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

Preview Lab → · Contrast checker → · Palette generator →

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