#230B56#230B56

#230B56 is a very dark, vivid violet. Relative luminance 0.013; OKLCH L 24.8% C 0.122 H 288.5°. Best body text is #FFFFFF at 16.75:1 contrast (WCAG AA passes).

Color values

HEX#230B56
RGBrgb(35, 11, 86)
HSLhsl(259, 77%, 19%)
HSVhsv(259, 87%, 34%)
CMYKcmyk(59.3%, 87.2%, 0%, 66.3%)
CIE-LABlab(11.05, 31.93, -40.21)
CIE-LCHlch(11.05, 51.34, 308.46°)
OKLaboklab(24.78% 0.0387 -0.1157)
OKLCHoklch(24.78% 0.122 288.5)
XYZxyz(2.4920, 1.2684, 8.9158)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230B56 #3E560B
analogous
#0B1956 #230B56 #490B56
triadic
#230B56 #56230B #0B5623
tetradic
#230B56 #560B19 #3E560B #0B5649
square
#230B56 #560B19 #3E560B #0B5649
split-complementary
#230B56 #56490B #19560B
monochromatic
#0B031B #0D0420 #230B56 #39128C #4F19C3

Accessibility & contrast

On white

16.75
#230B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#230B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230B56
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230B56#FFFFFF#000000##FFFFFF
##230B561.0016.751.2516.75
#FFFFFF16.751.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F58
Deuteranopia (green-blind)
#001C55
Tritanopia (blue-blind)
#0E2131
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #230b56;
/* rgb */ color: rgb(35, 11, 86);
/* oklch */ color: oklch(24.8% 0.122 288.5);
Tailwind
colors: {
  custom: {
    50: '#654e86',
    500: '#230b56',
    950: '#000000',
  },
}
SCSS
$custom: #230b56;
$custom-light: #654e86;
$custom-dark: #000000;
JSON
{
  "hex": "#230b56",
  "rgb": {
    "r": 35,
    "g": 11,
    "b": 86
  },
  "hsl": {
    "h": 259.2,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.24781,
    "c": 0.122,
    "h": 288.5
  },
  "luminance": 0.01269
}

Semantic roles & 50–950 ramp

primary
#230B56
secondary
#71912B
accent
#F434B6
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #230B56

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

Preview Lab → · Contrast checker → · Palette generator →

#230B56 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva