#230B47#230B47

#230B47 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.1% C 0.103 H 295.2°. Best body text is #FFFFFF at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#230B47
RGBrgb(35, 11, 71)
HSLhsl(264, 73%, 16%)
HSVhsv(264, 85%, 28%)
CMYKcmyk(50.7%, 84.5%, 0%, 72.2%)
CIE-LABlab(9.41, 27.33, -32.54)
CIE-LCHlch(9.41, 42.50, 310.02°)
OKLaboklab(23.14% 0.044 -0.0933)
OKLCHoklch(23.14% 0.103 295.2)
XYZxyz(1.9498, 1.0516, 6.0603)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230B47 #2F470B
analogous
#0B1147 #230B47 #410B47
triadic
#230B47 #47230B #0B4723
tetradic
#230B47 #470B11 #2F470B #0B4741
square
#230B47 #470B11 #2F470B #0B4741
split-complementary
#230B47 #47410B #11470B
monochromatic
#0D041A #0D041A #230B47 #3D137C #571BB1

Accessibility & contrast

On white

17.35
#230B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230B47
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230B47#FFFFFF#000000##FFFFFF
##230B471.0017.351.2117.35
#FFFFFF17.351.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #230b47;
/* rgb */ color: rgb(35, 11, 71);
/* oklch */ color: oklch(23.1% 0.103 295.2);
Tailwind
colors: {
  custom: {
    50: '#634d7b',
    500: '#230b47',
    950: '#000000',
  },
}
SCSS
$custom: #230b47;
$custom-light: #634d7b;
$custom-dark: #000000;
JSON
{
  "hex": "#230b47",
  "rgb": {
    "r": 35,
    "g": 11,
    "b": 71
  },
  "hsl": {
    "h": 264,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.23142,
    "c": 0.1031,
    "h": 295.2
  },
  "luminance": 0.01052
}

Semantic roles & 50–950 ramp

primary
#230B47
secondary
#60832A
accent
#F038A6
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#050109
muted
#7A777B

Preview Lab

Preview with #230B47

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

Preview Lab → · Contrast checker → · Palette generator →

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