#231B45#231B45

#231B45 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 25.7% C 0.076 H 288.7°. Best body text is #FFFFFF at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#231B45
RGBrgb(35, 27, 69)
HSLhsl(251, 44%, 19%)
HSVhsv(251, 61%, 27%)
CMYKcmyk(49.3%, 60.9%, 0%, 72.9%)
CIE-LABlab(13.05, 16.38, -25.24)
CIE-LCHlch(13.05, 30.09, 302.98°)
OKLaboklab(25.72% 0.0243 -0.0718)
OKLCHoklch(25.72% 0.076 288.7)
XYZxyz(2.1589, 1.5708, 5.8185)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231B45 #3D451B
analogous
#1B2845 #231B45 #381B45
triadic
#231B45 #45231B #1B4523
tetradic
#231B45 #451B28 #3D451B #1B4538
square
#231B45 #451B28 #3D451B #1B4538
split-complementary
#231B45 #45381B #28451B
monochromatic
#0B0916 #0D0A19 #231B45 #392C71 #503D9D

Accessibility & contrast

On white

15.98
#231B45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231B45
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231B45#FFFFFF#000000##FFFFFF
##231B451.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062346
Deuteranopia (green-blind)
#072144
Tritanopia (blue-blind)
#19242D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #231b45;
/* rgb */ color: rgb(35, 27, 69);
/* oklch */ color: oklch(25.7% 0.076 288.7);
Tailwind
colors: {
  custom: {
    50: '#615779',
    500: '#231b45',
    950: '#000000',
  },
}
SCSS
$custom: #231b45;
$custom-light: #615779;
$custom-dark: #000000;
JSON
{
  "hex": "#231b45",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 69
  },
  "hsl": {
    "h": 251.429,
    "s": 43.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.25717,
    "c": 0.07583,
    "h": 288.7
  },
  "luminance": 0.01571
}

Semantic roles & 50–950 ramp

primary
#231B45
secondary
#707B41
accent
#D354BB
background
#F5F5F7
surface
#EAE9ED
border
#C6C5C8
text
#050309
muted
#79787B

Preview Lab

Preview with #231B45

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

Preview Lab → · Contrast checker → · Palette generator →

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