#230B43#230B43

#230B43 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.7% C 0.098 H 297.4°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#230B43
RGBrgb(35, 11, 67)
HSLhsl(266, 72%, 15%)
HSVhsv(266, 84%, 26%)
CMYKcmyk(47.8%, 83.6%, 0%, 73.7%)
CIE-LABlab(9.01, 26.12, -30.39)
CIE-LCHlch(9.01, 40.07, 310.67°)
OKLaboklab(22.73% 0.0452 -0.0869)
OKLCHoklch(22.73% 0.098 297.4)
XYZxyz(1.8257, 1.0019, 5.4063)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230B43 #2B430B
analogous
#0B0F43 #230B43 #3F0B43
triadic
#230B43 #43230B #0B4323
tetradic
#230B43 #430B0F #2B430B #0B433F
square
#230B43 #430B0F #2B430B #0B433F
split-complementary
#230B43 #433F0B #0F430B
monochromatic
#0E041A #0E041A #230B43 #3E1478 #5A1CAC

Accessibility & contrast

On white

17.49
#230B43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#230B43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230B43
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230B43#FFFFFF#000000##FFFFFF
##230B431.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A45
Deuteranopia (green-blind)
#001942
Tritanopia (blue-blind)
#1B1A26
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #230b43;
/* rgb */ color: rgb(35, 11, 67);
/* oklch */ color: oklch(22.7% 0.098 297.4);
Tailwind
colors: {
  custom: {
    50: '#624c78',
    500: '#230b43',
    950: '#000000',
  },
}
SCSS
$custom: #230b43;
$custom-light: #624c78;
$custom-dark: #000000;
JSON
{
  "hex": "#230b43",
  "rgb": {
    "r": 35,
    "g": 11,
    "b": 67
  },
  "hsl": {
    "h": 265.714,
    "s": 71.795,
    "l": 15.294
  },
  "oklch": {
    "l": 0.22731,
    "c": 0.09797,
    "h": 297.4
  },
  "luminance": 0.01002
}

Semantic roles & 50–950 ramp

primary
#230B43
secondary
#5B802A
accent
#EF39A1
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050109
muted
#7A777B

Preview Lab

Preview with #230B43

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

Preview Lab → · Contrast checker → · Palette generator →

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