#230F65#230F65

#230F65 is a dark, vivid violet. Relative luminance 0.016; OKLCH L 27.0% C 0.137 H 282.9°. Best body text is #FFFFFF at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#230F65
RGBrgb(35, 15, 101)
HSLhsl(254, 74%, 23%)
HSVhsv(254, 85%, 40%)
CMYKcmyk(65.3%, 85.1%, 0%, 60.4%)
CIE-LABlab(13.46, 34.67, -46.29)
CIE-LCHlch(13.46, 57.84, 306.83°)
OKLaboklab(26.97% 0.0305 -0.1335)
OKLCHoklch(26.97% 0.137 282.9)
XYZxyz(3.2122, 1.6383, 12.4564)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230F65 #51650F
analogous
#0F2665 #230F65 #4E0F65
triadic
#230F65 #65230F #0F6523
tetradic
#230F65 #650F26 #51650F #0F654E
square
#230F65 #650F26 #51650F #0F654E
split-complementary
#230F65 #654E0F #26650F
monochromatic
#09041B #110730 #230F65 #35179A #481FD0

Accessibility & contrast

On white

15.82
#230F65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#230F65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230F65
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230F65#FFFFFF#000000##FFFFFF
##230F651.0015.821.3315.82
#FFFFFF15.821.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002567
Deuteranopia (green-blind)
#002063
Tritanopia (blue-blind)
#00293A
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #230f65;
/* rgb */ color: rgb(35, 15, 101);
/* oklch */ color: oklch(27.0% 0.137 282.9);
Tailwind
colors: {
  custom: {
    50: '#685192',
    500: '#230f65',
    950: '#000000',
  },
}
SCSS
$custom: #230f65;
$custom-light: #685192;
$custom-dark: #000000;
JSON
{
  "hex": "#230f65",
  "rgb": {
    "r": 35,
    "g": 15,
    "b": 101
  },
  "hsl": {
    "h": 253.953,
    "s": 74.138,
    "l": 22.745
  },
  "oklch": {
    "l": 0.26967,
    "c": 0.13696,
    "h": 282.9
  },
  "luminance": 0.01639
}

Semantic roles & 50–950 ramp

primary
#230F65
secondary
#859E32
accent
#F137C6
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #230F65

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

Preview Lab → · Contrast checker → · Palette generator →

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