#230B46#230B46

#230B46 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 23.0% C 0.102 H 295.8°. Best body text is #FFFFFF at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#230B46
RGBrgb(35, 11, 70)
HSLhsl(264, 73%, 16%)
HSVhsv(264, 84%, 27%)
CMYKcmyk(50%, 84.3%, 0%, 72.5%)
CIE-LABlab(9.31, 27.03, -32.01)
CIE-LCHlch(9.31, 41.90, 310.18°)
OKLaboklab(23.04% 0.0443 -0.0917)
OKLCHoklch(23.04% 0.102 295.8)
XYZxyz(1.9180, 1.0388, 5.8926)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230B46 #2E460B
analogous
#0B1046 #230B46 #400B46
triadic
#230B46 #46230B #0B4623
tetradic
#230B46 #460B10 #2E460B #0B4640
square
#230B46 #460B10 #2E460B #0B4640
split-complementary
#230B46 #46400B #10460B
monochromatic
#0D041A #0D041A #230B46 #3D137B #581CB0

Accessibility & contrast

On white

17.39
#230B46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#230B46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230B46
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230B46#FFFFFF#000000##FFFFFF
##230B461.0017.391.2117.39
#FFFFFF17.391.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A48
Deuteranopia (green-blind)
#001945
Tritanopia (blue-blind)
#191B28
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #230b46;
/* rgb */ color: rgb(35, 11, 70);
/* oklch */ color: oklch(23.0% 0.102 295.8);
Tailwind
colors: {
  custom: {
    50: '#624d7a',
    500: '#230b46',
    950: '#000000',
  },
}
SCSS
$custom: #230b46;
$custom-light: #624d7a;
$custom-dark: #000000;
JSON
{
  "hex": "#230b46",
  "rgb": {
    "r": 35,
    "g": 11,
    "b": 70
  },
  "hsl": {
    "h": 264.407,
    "s": 72.84,
    "l": 15.882
  },
  "oklch": {
    "l": 0.23038,
    "c": 0.10183,
    "h": 295.8
  },
  "luminance": 0.01039
}

Semantic roles & 50–950 ramp

primary
#230B46
secondary
#5F822A
accent
#F038A5
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050109
muted
#7A777B

Preview Lab

Preview with #230B46

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

Preview Lab → · Contrast checker → · Palette generator →

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